Created
February 15, 2012 18:23
-
-
Save jheasly/1837985 to your computer and use it in GitHub Desktop.
Pulling in remote-hosted video
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type="text/javascript"> | |
$(document).ready(function(){ | |
jwplayer('mediaplayer').setup({ | |
id: 'playerID', | |
width: 546, | |
height: 313, | |
file: 'http://s3.amazonaws.com/headsup.orcasinc.com/video/concussion_video.mp4', | |
image: 'http://s3.amazonaws.com/headsup.orcasinc.com/video/concussion_video.jpg', | |
modes: [ | |
{type: 'html5'}, | |
{type: 'flash', src: 'http://s3.amazonaws.com/orcas-eap/content/jwplayer/player.swf'} | |
] | |
}); | |
}); | |
</script> | |
<div id='mediaplayer'></div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment