Skip to content

Instantly share code, notes, and snippets.

@leoallen85
Created May 24, 2011 07:21
Show Gist options
  • Save leoallen85/988257 to your computer and use it in GitHub Desktop.
Save leoallen85/988257 to your computer and use it in GitHub Desktop.
<script type="text/javascript" src="/media/js/jwplayer.js"></script>
<script type="text/javascript">
jwplayer("flash-video").setup({
flashplayer: "/media/video/player.swf",
streamer: "{{cloudfront_url}}",
file : "{{sponsor.video}}",
provider: "rtmp",
image: "{{placeholder}}",
height: 250,
width: 320,
/*
modes: [
{
type: 'html5',
config: {
'file': '{{sponsor.video}}',
'provider': 'htt'
}
}]*/
});
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment