Skip to content

Instantly share code, notes, and snippets.

@brajeshwar
Created March 21, 2011 02:54
Show Gist options
  • Save brajeshwar/878941 to your computer and use it in GitHub Desktop.
Save brajeshwar/878941 to your computer and use it in GitHub Desktop.
How to autoplay video using SublimeVideo
<script type="text/javascript" src="script-source-to-your-sublimevideo-code"></script>
<script type="text/javascript">
sublimevideo.ready(function(){
sublimevideo.prepareAndPlay("MyVideo"); // "MyVideo" is the ID on the Video Element
});
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment