]> khamidou — GitHub mirrors - popcorn-js.git/commitdiff
fixes as per review [#313]
authorAnna Sobiepanek <annaopensource@gmail.com>
Tue, 8 Feb 2011 22:17:39 +0000 (17:17 -0500)
committerAnna Sobiepanek <annaopensource@gmail.com>
Tue, 8 Feb 2011 22:17:39 +0000 (17:17 -0500)
example.html

index ece98397cc48e6f8067bbcbd3343fb7f15dbb928..43232478c239c8465c7488c467fdfb92966bdb20 100644 (file)
       .subtitle({
         start: 1, // seconds
         end: 15, // seconds
-        text: 'this is the first subtitle of 2011'
+        text: 'this is a subtitle'
       } )
-      // make the video play right automatically 
+      // make the video play automatically 
       .play();
     }, false);
 
   </script>
 </head>
 <body>
-  <h1 id="qunit-header">Popcorn Simple Demo</h1>
+  <h1>Popcorn Simple Demo</h1>
   <p>You should see a footnote "This video made exclusively for drumbeat.org" appear right away</p>
-  <p>You should see a subtitle "this is the first subtitle of 2011" appear at 1 sec away</p>
-  <div>
-       <!-- You need a video element with an id -->
-    <video id='video' 
-      controls preload='none' 
-      width= '250px'
-      poster="test/poster.png"> 
-      <source id='mp4'
-        src="test/trailer.mp4"
-        type='video/mp4; codecs="avc1, mp4a"'> 
-      <source id='ogv'
-        src="test/trailer.ogv"
-        type='video/ogg; codecs="theora, vorbis"'> 
-      <p>Your user agent does not support the HTML5 Video element.</p> 
-    </video> 
-  </div>
+  <p>You should see a subtitle "this is a subtitle" appear at 1 sec away</p>
+  <!-- You need a video element with an id -->
+  <video id='video' 
+    controls 
+    width= '250px'
+    poster="test/poster.png"> 
+    <source id='mp4'
+      src="test/trailer.mp4"
+      type='video/mp4; codecs="avc1, mp4a"'> 
+    <source id='ogv'
+      src="test/trailer.ogv"
+      type='video/ogg; codecs="theora, vorbis"'> 
+    <p>Your user agent does not support the HTML5 Video element.</p> 
+  </video> 
   <!-- this is needed for the footnote plugin -->
   <div id="footnotediv"></div>
 </body>