From b68dfde39544422c862882160364635e2eebbfd7 Mon Sep 17 00:00:00 2001 From: ScottDowne Date: Tue, 1 Nov 2011 16:20:33 -0400 Subject: [PATCH] [#811] twitter demo to use new youtube stuff --- demos/twittervideo/twitterVideo.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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:


-

+