From: Christopher De Cairos Date: Fri, 17 Jun 2011 18:21:01 +0000 (-0400) Subject: fixed typo, modified html file X-Git-Tag: v0.7^2~33^2~2 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=8f130292fa6da1973b2b5da9eba51529079bba1a;p=popcorn-js.git fixed typo, modified html file --- diff --git a/players/youtube/popcorn.youtube.html b/players/youtube/popcorn.youtube.html index 40192ff..1deb382 100644 --- a/players/youtube/popcorn.youtube.html +++ b/players/youtube/popcorn.youtube.html @@ -22,7 +22,7 @@ var paused = true, popcorn; - popcorn = Popcorn( Popcorn.youtube( 'video', 'http://www.youtube.com/watch?v=9oar9glUCL0', { width: 400 } ) ); + popcorn = Popcorn( Popcorn.youtube( 'video', 'http://www.youtube.com/watch?v=9oar9glUCL0', { width: 400, controls: 0, annotations: 3 } ) ); popcorn = popcorn .footnote({ diff --git a/players/youtube/popcorn.youtube.js b/players/youtube/popcorn.youtube.js index d0c5e12..d4fdfab 100644 --- a/players/youtube/popcorn.youtube.js +++ b/players/youtube/popcorn.youtube.js @@ -134,7 +134,7 @@ var onYouTubePlayerReady; }; attributes = { - id: this.player + id: this.playerId }; swfobject.embedSWF( "http://www.youtube.com/e/" + this.vidId +"?enablejsapi=1&playerapiid=" + this.playerId + "&version=3",