summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--assets/js/sample.js26
-rw-r--r--player.html3
2 files changed, 28 insertions, 1 deletions
diff --git a/assets/js/sample.js b/assets/js/sample.js
new file mode 100644
index 0000000..1784e86
--- /dev/null
+++ b/assets/js/sample.js
@@ -0,0 +1,26 @@
+function Sample(url){
+ this.url = url;
+ this.start;
+ this.stop;
+ this.duration;
+ this.key;
+ this.player; //the associated player obj w the iframe
+ this.init();
+ this.id;
+}
+
+Sample.prototype.init(){
+ //create the iframe
+
+ //create the player
+
+}
+
+Sample.prototype.play = function(){
+
+}
+
+//getting and setting from UI
+Sample.prototype.update = function(){
+
+}
diff --git a/player.html b/player.html
index 0ee8ead..e2e3e09 100644
--- a/player.html
+++ b/player.html
@@ -93,7 +93,8 @@
</div>
<div class="responsive-object">
- <iframe src="http://cdn.embedly.com/widgets/media.html?schema=vimeo&type=text%2Fhtml&html=http://player.vimeo.com/video/18150336" width="500" height="281" scrolling="no" frameborder="0" allowfullscreen></iframe>
+ <iframe
+ src="http://cdn.embedly.com/widgets/media.html?schema=youtube&type=text%2Fhtml&html=http://www.youtube.com/embed/q3wHLCW4hbg" width="500" height="281" scrolling="no" frameborder="0" allowfullscreen></iframe>
</div>