Skip to content

Instantly share code, notes, and snippets.

@ejholmes
Forked from rasummer/gist:3995308
Created November 1, 2012 17:44
Show Gist options
  • Save ejholmes/3995312 to your computer and use it in GitHub Desktop.
Save ejholmes/3995312 to your computer and use it in GitHub Desktop.
<script type="text/javascript">
$(function() {
Player.setup({
jwplayer: 'demoplayer/jwplayer',
playlist: [
{
duration: 320,
image: 'images/tid-poster.png',
title: 'Tidemark',
levels: [ { file: 'video/tid-videostring-v02.mp4' } ]
}
],
jwplayer_options: {
autostart: true,
}
});
Player.addHandler('onComplete', function() {
Player.Controller.play(0);
});
});
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment