]> khamidou — GitHub mirrors - popcorn-js.git/commitdiff
removed comments plugin due to loading issues
authorDan Ventura <distraction.attack@gmail.com>
Tue, 17 May 2011 18:41:57 +0000 (14:41 -0400)
committerDan Ventura <distraction.attack@gmail.com>
Tue, 17 May 2011 18:41:57 +0000 (14:41 -0400)
plugins/facebook/popcorn.facebook.html
plugins/facebook/popcorn.facebook.js

index 6024bb4b232cfe91fe31541fcf4016c9b9f7cb3a..695977fd72a51d2303ed78f7e1712be8524e8880 100644 (file)
       var p = Popcorn('#video')
       .volume(0)
       .play()
-      .facebook({
-        num_posts  : 2,
-        type       : "COMMENTS",
-        target     : "likediv",
-        start      : 15,
-        end        : 30,
-        colorscheme:'dark'
-      } )
       .facebook({
         type        : "live-stream",
         target      : "activitydiv",
index 3b3706f230f122e29c8b83025368192e2f87f6be..74c00c89e29336156191b357e1741c19f35585d7 100644 (file)
@@ -2,7 +2,6 @@
 
 (function (Popcorn){
 /**
-<<<<<<< HEAD
   * Facebook Popcorn plug-in 
   * Places Facebook's "social plugins" inside a div ( http://developers.facebook.com/docs/plugins/ )
   * Sets options according to user input or default values
             options._container.setAttribute( "font", options.font );
             options._container.setAttribute( "colorscheme", options.colorscheme );
           },
-          comments: function() {
-            options._container.setAttribute( "num_posts", ( options.num_posts || 10 ) );
-            options._container.setAttribute( "width", ( options.width || 450 ) );
-            options._container.setAttribute( "colorscheme", options.colorscheme );
-          },
           livestream: function() {
             options._container.setAttribute( "width", ( options.width || 400 ) );
             options._container.setAttribute( "height", ( options.height || 500 ) );
     * options variable
     */
     start: function( event, options ){
-<<<<<<< HEAD
-      if ( !!options._container ) {
-        options._container.style.display = "inline";
-      }
-=======
       toggle( options._container, "inline" );     
->>>>>>> af5e535d76479f6c0825ad3f6517930f6c89c798
     },
     /**
     * @member facebook
     * options variable
     */
     end: function( event, options ){
-<<<<<<< HEAD
-      if ( !!options._container ) {
-        options._container.style.display = "none";
-      }
-=======
       toggle ( options._container, "none" );
->>>>>>> af5e535d76479f6c0825ad3f6517930f6c89c798
     }
   });