PopcornOpenVideoAPI: Difference between revisions

Jump to navigation Jump to search
Line 392: Line 392:
       <div id="videoContainer" class="video-div">
       <div id="videoContainer" class="video-div">
         <!-- You have to have an id in the video tag for Popcorn to work -->
         <!-- You have to have an id in the video tag for Popcorn to work -->
         <video id="popcorn-this" src="my_video.ogg" data-timeline-sources="popcorn.xml" preload="auto" style="width:640px;" controls></video>
         <video id="popcorn-this" src="JB_baby.ogg" data-timeline-sources="popcorn.xml" preload="auto" style="width:640px;" controls></video>
       </div><!-- End Video Div -->
       </div><!-- End Video Div -->
     </div><!-- End Left Content -->
     </div><!-- End Left Content -->
Line 398: Line 398:
     <!-- Start Right Content -->
     <!-- Start Right Content -->
     <div class="right-content">
     <div class="right-content">
           <h1>Popcorn Target</h1>
           <h1>Wikipedia Target</h1>
       <div id="popcorn_box"></div>    
       <div id="popcorn_box" class="popcorn_info"></div>
          <h1>Twitter Target</h1>
      <div id="twitter_box" class="popcorn_info"></div>     
          <h1>Footnote Target</h1>
      <div id="footnote_box" class="popcorn_info"></div>
     </div><!-- End Right Content -->
     </div><!-- End Right Content -->


Line 406: Line 410:
</body>
</body>
</html>
</html>
</pre>
</pre>


Confirmed users
4,467

edits

Navigation menu