diff options
| author | Kawandeep Virdee | 2013-11-09 16:02:51 -0500 |
|---|---|---|
| committer | Kawandeep Virdee | 2013-11-09 16:02:51 -0500 |
| commit | 33211b0dba94a2756573a8248219347dd086ae7f (patch) | |
| tree | 813e6ef0248095b557d5dbe931ee547100fedf48 | |
| parent | 26ddd8e6ca882d30e1545ab84fa8e8b505e0b79d (diff) | |
| download | clip-play-33211b0dba94a2756573a8248219347dd086ae7f.tar.bz2 | |
added sample class
| -rw-r--r-- | assets/js/sample.js | 26 | ||||
| -rw-r--r-- | player.html | 3 |
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> |
