Skip to content
Permalink
Browse files

Made several changes to as part of testing code to find where the sta…

…rt and

stop events are handled in order to add the pause feature.
  • Loading branch information...
aljohnson1 committed Sep 30, 2011
1 parent 9e10ca0 commit e1f9662b4c4038f9fc5ac7186900ee7d639a3fb6
Showing with 11 additions and 10 deletions.
  1. +10 −9 plugins/footnote/popcorn.footnote.html
  2. +1 −1 popcorn.js
@@ -2,13 +2,14 @@
<html>
<head>
<title>Popcorn footnote Plug-in Demo</title>

<script src="../../popcorn.js"></script>
<script src="popcorn.footnote.js"></script>
<script>
document.addEventListener('DOMContentLoaded', function () {
var p = Popcorn('#video')
.play()
.play()
.footnote({
start: 5, // seconds
end: 15, // seconds
@@ -31,22 +32,22 @@ <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>
<video id='video'
controls preload='none'
<video id='video'
controls preload='none'
width= '250px'
poster="../../test/poster.png">
poster="../../test/poster.png">

<source id='mp4'
src="../../test/trailer.mp4"
type='video/mp4; codecs="avc1, mp4a"'>
type='video/mp4; codecs="avc1, mp4a"'>

<source id='ogv'
src="../../test/trailer.ogv"
type='video/ogg; codecs="theora, vorbis"'>
type='video/ogg; codecs="theora, vorbis"'>

<p>Your user agent does not support the HTML5 Video element.</p>
<p>Your user agent does not support the HTML5 Video element.</p>

</video>
</video>
</div>
<div id="footnotediv" width="50%" height="50%">
</div>
@@ -1184,7 +1184,7 @@
if ( !options ) {
return this;
}

alert(options);
// Storing the plugin natives
var natives = options._natives = {},
compose = "",

0 comments on commit e1f9662

Please sign in to comment.
You can’t perform that action at this time.