I am having issues with my flowplayer
configuration, as it is not behaving as I expected. After the first video ends, I want the second and subsequent videos to play automatically. Can anyone provide some guidance on how to achieve this?
$f("player", "/flowplayer/flowplayer.commercial-3.2.11.swf", {
key: '#$*******************',
logo: {
url: 'logo.png',
fullscreenOnly: false,
displayTime: 11,
top: 195,
left: 400.25,
fadeSpeed: 1100,
opacity: 0,
linkUrl: 'http://www.mysite.com',
linkWindow: '_blank'
},
clip: {
autoPlay: true,
autoBuffering: true,
onCuepoint: [[00,5000,13000,30000,39000,47000,53000,67000,75000,86000,100000,110000,118000], function(clip, point) {
info.innerHTML = '<iframe src="cue_player.php?id=3716&time='+ point+'" height="490" width="730" frameborder="0" scrolling="no"></iframe>'
}],
// track start event for this clip
onStart: function(clip) {
_tracker._trackEvent("Videos", "Play", "");
},
// track pause event for this clip. time (in seconds) is also tracked
onPause: function(clip) {
_tracker._trackEvent("Videos", "Pause", "", parseInt(this.getTime()));
},
// track stop event for this clip. time is also tracked
onStop: function(clip) {
_tracker._trackEvent("Videos", "Stop", "", parseInt(this.getTime()));
},
// track finish event for this clip
onFinish: function(clip) {
_tracker._trackEvent("Videos", "Finish", "");
},
provider: 'rtmp'
},
playlist:[ {
url: 'first_clip.mp4',
start: '0'
},
{
url:'second_clip.mp4',
}],
plugins: {
rtmp: {
url: '/flowplayer/flowplayer.rtmp-3.2.10.swf',
netConnectionUrl: 'rtmp://video.mysite.com/videostream'
}
}
}
);