]> khamidou — GitHub mirrors - popcorn-js.git/commitdiff
added manifest to footnote [#237]
authorAnna Sobiepanek <annaopensource@gmail.com>
Wed, 22 Dec 2010 19:52:17 +0000 (14:52 -0500)
committerAnna Sobiepanek <annaopensource@gmail.com>
Wed, 22 Dec 2010 19:52:17 +0000 (14:52 -0500)
plugins/footnote/popcorn.footnote.html
plugins/footnote/popcorn.footnote.js

index 0f9e0c408f84bfce0b6aa4b24d243c04d1759dbc..8d4f4736b3ff4156e54f0884205c3aaf45838045 100644 (file)
@@ -27,7 +27,7 @@
   </script>
 </head>
 <body>
-  <h1 id="qunit-header">Popcorn Footnore Plug-in Demo</h1>
+  <h1 id="qunit-header">Popcorn Footnote Plug-in Demo</h1>
   <p> A footnote displaying This video made exclusively for drumbeat.org' will appear at 5 seconds and disappear at 15 seconds.</p>
   <p> A footnote displaying 'Visit webmademovies.org for more details' will appear at 20 seconds and disappear at 45 seconds.</p>
   <div>
index b4d90a70f43f35416919996fb0a43ff2c1445121..f1d799cd515032322922f5f8d9c3995b0a1793cf 100644 (file)
     var temp;
     
     return {
+      manifest: {
+        about:{
+          name: "Popcorn Footnote Plugin",
+          version: "0.1",
+          author: "@annasob",
+          website: "annasob.wordpress.com"
+        },
+        options:{
+          start    : {elem:'input', type:'text', label:'In'},
+          end      : {elem:'input', type:'text', label:'Out'},
+          target   : 'map-container',
+          text     : {elem:'input', type:'text', label:'Text'}
+        }
+      },
       /**
-       * @member webpage 
+       * @member footnote 
        * The start function will be executed when the currentTime 
        * of the video  reaches the start time provided by the 
        * options variable
@@ -42,7 +56,7 @@
         temp.innerHTML  = options.text;
       },
       /**
-       * @member webpage 
+       * @member footnote 
        * The end function will be executed when the currentTime 
        * of the video  reaches the end time provided by the 
        * options variable