Skip to content

Instantly share code, notes, and snippets.

@pulse00
Created February 21, 2010 20:41
Show Gist options
  • Save pulse00/310524 to your computer and use it in GitHub Desktop.
Save pulse00/310524 to your computer and use it in GitHub Desktop.
player = flowplayer('player', options.player_path, {
clip: {
url: options.clip,
autoPlay: options.autoplay,
provider: 'h264streaming',
onStart: function() {
if (seek_time !== null)
this.seek(seek_time);
},
onSeek: function (clip, time) {
},
onBeforeSeek: function(clip, time) {
}
},
plugins: {
h264streaming: {
url: options.h264_plugin
},
trafficlog: {
url: options.trafficlog_plugin,
id: options.player_id,
poll_interval: options.poll_interval,
pid: options.player_id,
log_url: options.trafficlog_url
}
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment