Skip to content

Instantly share code, notes, and snippets.

@dmolsen
Created December 19, 2011 01:29
Show Gist options
  • Select an option

  • Save dmolsen/1495049 to your computer and use it in GitHub Desktop.

Select an option

Save dmolsen/1495049 to your computer and use it in GitHub Desktop.
Example of setting an event to happen at particular times during a video
// between 13secs and 17secs shoot off a firework every half a second (500ms)
YTVideo.at('13000-16500', function() {
createFirework(14,73,3,2,null,null,null,20,true,true);
}, 500);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment