我有一个flowplayer
播放多个剪辑/视频的设置。但是,情况是它没有按照我打算执行的方式执行。对于我的生活,我无法弄清楚如何在第一个剪辑结束后自动播放第二个和/或后续视频。有任何想法吗?
$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'
}
}
}
);