Skip to content

Instantly share code, notes, and snippets.

@harmstyler
Created November 5, 2012 20:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save harmstyler/4020105 to your computer and use it in GitHub Desktop.
Save harmstyler/4020105 to your computer and use it in GitHub Desktop.
Example of a JW Player install
<script type="text/javascript">
jwplayer("csps-video-0").setup({
logo: {hide: true},
height: 314,
width: 480,
controlbar: "bottom",
plugins: {
"timeslidertooltipplugin-1": {
displayhours: "true",
marginBottom: "22",
labelheight: "17"
}},
skin: "http://members.christianscience.com/church-alive/wp-content/plugins/csps-media-player/modieus/modieus.xml",
modes: [{
type: "flash",
src: "http://members.christianscience.com/church-alive/wp-content/plugins/csps-media-player/player.swf",
config: {
bufferlength: 6,
provider: "rtmp",
streamer: "rtmp://vod.cdn.csps.com/tmc/church_alive/summit/boston/2011/",
file: "ca-boston-02-csbd.110614-qt_h264_ws_480x270_700k.m4v"
}
},
{
type: "html5",
config: {
file: "http://dl.cdn.csps.com/church_alive/summit/boston/2011/ca-boston-02-csbd.110614-qt_h264_ws_480x270_700k.m4v"
}
}]
})
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment