]> khamidou — GitHub mirrors - popcorn-js.git/commitdiff
fixed documentation errors t551
authorChristopher De Cairos <chris.decairos@gmail.com>
Tue, 7 Jun 2011 15:42:12 +0000 (11:42 -0400)
committerChristopher De Cairos <chris.decairos@gmail.com>
Tue, 7 Jun 2011 15:42:12 +0000 (11:42 -0400)
plugins/flickr/popcorn.flickr.js
plugins/googlenews/popcorn.googlenews.js
plugins/lowerthird/popcorn.lowerthird.js
plugins/subtitle/popcorn.subtitle.js
plugins/wordriver/popcorn.wordriver.js

index 1009fea74cd301cc90050b98841c8cf7fa42b849..405bb3219822356df3e5490abbfdec89e9977d0b 100644 (file)
@@ -26,7 +26,7 @@
    * 
    * Example:
      var p = Popcorn('#video')
-        .footnote({
+        .flickr({
           start:          5,                 // seconds, mandatory
           end:            15,                // seconds, mandatory
           userid:         '35034346917@N01', // optional
index e9b8876a5c3097537e96eec5a513637b25eaf69f..fb808cfe5b5b40e80781bccdbb9cb4ce10347c4f 100644 (file)
@@ -33,7 +33,7 @@
    * 
    * Example:
      var p = Popcorn('#video')
-        .footnote({
+        .googlenews({
           start:          5,                 // seconds, mandatory
           end:            15,                // seconds, mandatory
           topic:          'oil spill',       // optional
index 7b28a0e7a169837142971b332bf874fa6f568046..e15418eb0284857c8a3ff55a34a64370ced18341 100644 (file)
@@ -19,7 +19,7 @@
    * 
    * Example:
      var p = Popcorn('#video')
-        .footnote({
+        .lowerthird({
           start:          5,                 // seconds, mandatory
           end:            15,                // seconds, mandatory
           salutation:     'Mr',              // optional
index f56d98671a59f3b07f48361a5cbd3945752e3f47..10741d4d471c4660e650fba7bc99cb227e591070 100644 (file)
@@ -84,7 +84,7 @@
    * 
    * Example:
      var p = Popcorn('#video')
-        .footnote({
+        .subtitle({
           start:            5,                 // seconds, mandatory
           end:              15,                // seconds, mandatory
           text:             'Hellow world',    // optional
index 2fe6359c0d3613094201f83de8d4712357ca28c5..aec6cea49595a19a6b2141b43339760a534f14b3 100644 (file)
   // Garbage collect support test span
   document.head.removeChild( span );
 
+  /**
+   * Word River popcorn plug-in 
+   * Displays a string of text, fading it in and out 
+   * while transitioning across the height of the parent container
+   * for the duration of the instance  (duration = end - start)
+   *  
+   * @param {Object} options
+   * 
+   * Example:
+     var p = Popcorn( '#video' )
+        .wordriver({
+          start: 5,                      // When to begin the Word River animation
+          end: 15,                       // When to finish the Word River animation
+          text: 'Hello World',           // The text you want to be displayed by Word River
+          target: 'wordRiverDiv',        // The target div to append the text to
+          color: "blue"                  // The color of the text. (can be Hex value i.e. #FFFFFF )
+        } )
+   *
+   */
+
   Popcorn.plugin( "wordriver" , {
     
       manifest: {},