]> khamidou — GitHub mirrors - popcorn-js.git/commitdiff
[#t461] fixed more changes I made while testing
authorScottDowne <sdowne@learn.senecac.on.ca>
Tue, 19 Jul 2011 19:09:44 +0000 (15:09 -0400)
committerScottDowne <sdowne@learn.senecac.on.ca>
Tue, 19 Jul 2011 19:09:44 +0000 (15:09 -0400)
plugins/code/popcorn.code.html

index 973b5d2563a001a713ea36c87c892336ddc74b8c..0b6932b0f2236280ff17ab7e1b6680bc5a39861d 100755 (executable)
 
      var p = Popcorn('#video')
 
-     .code({})
+     .code({
+        start: 1,
+        end: 3,
+        onStart: function( options ) {
+          $('#test1').innerHTML = 'Yes';
+        }
+     })
 
       .code({
         start: 5,