diff --git a/demos/twittervideo/twitterVideo.html b/demos/twittervideo/twitterVideo.html index 642e62c2b..2954af93f 100644 --- a/demos/twittervideo/twitterVideo.html +++ b/demos/twittervideo/twitterVideo.html @@ -43,11 +43,11 @@ // and displaying the video accordingly, displays error message if the // video type is incompatable if( document.getElementById( 'vidUrl' ).value.search( "youtube" ) != -1 ){ - popcorn = Popcorn( Popcorn.youtube( 'video', document.getElementById( 'vidUrl' ).value ) ); + popcorn = Popcorn.youtube( '#video', document.getElementById( 'vidUrl' ).value ); ok = true; } else if( document.getElementById( 'vidUrl' ).value.search( "vimeo" ) != -1 ){ - popcorn = Popcorn( Popcorn.vimeo( 'video', document.getElementById( 'vidUrl' ).value ) ); + popcorn = Popcorn.vimeo( '#video', document.getElementById( 'vidUrl' ).value ); ok = true; } else if( document.getElementById( 'vidUrl' ).value.search( "ogv" ) != -1 ){ @@ -84,7 +84,7 @@ if(ok){ // Add twitter widget with associated parameters - popcorn = popcorn + popcorn .twitter({ start: 0, // seconds end: 45, // seconds @@ -107,7 +107,7 @@

Twitter Hashtag video demo

Twitter Hashtag:


-

+