Skip to content

Instantly share code, notes, and snippets.

@joubertnel
Created November 3, 2011 14:59
Show Gist options
  • Save joubertnel/1336705 to your computer and use it in GitHub Desktop.
Save joubertnel/1336705 to your computer and use it in GitHub Desktop.
HTML5 video in Handlebars
<div class="videoPod large">
{{view SC.Video srcBinding="MyApp.watchController.video.url"
currentTimeBinding="MyApp.watchController.scrubPosition"
width="500" height="340"
controls="controls" type="video/mp4" }}
<br/>
{{MyApp.watchController.video.title}}
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment