ckplayer 3 切换视频地址后,所有监听事件失效
var player;function playerInit(videoSrc,title){
player=new ckplayer({
container : "#video",
autoplay:true,
rightBar:true,
title:title,
video:videoSrc
});
}
//第一次
playerInit(path,name);
player.ended(function(){
//第一个视频播放结束后.切换视频地址,然后第二个视频结束后,ended方法就监听不到了
playerInit(path,name);
}
有大佬吗:)
页:
[1]