Events Flowplayer绑定完成事件
我在正在构建的登录页上安装了flowplayer,它运行良好,但我无法在剪辑结束时启动事件。这是我正在使用的代码,我可能实现错误,但我似乎无法理解Events Flowplayer绑定完成事件,events,video,flowplayer,Events,Video,Flowplayer,我在正在构建的登录页上安装了flowplayer,它运行良好,但我无法在剪辑结束时启动事件。这是我正在使用的代码,我可能实现错误,但我似乎无法理解 $("#teaser_player").flowplayer({ playlist: [ [ { mp4: "videos/video1.mp4" }, { webm: "videos/video1.webm" },
$("#teaser_player").flowplayer({
playlist: [
[
{ mp4: "videos/video1.mp4" },
{ webm: "videos/video1.webm" },
{ ogg: "videos/video1.ogv" }
]
],
clip: {
autoPlay: false,
autoBuffering: true,
},
preload: true,
fullscreen: false
});
var elem = document.getElementById("teaser_player");
api = flowplayer(elem);
$("#puzzle4_video").fadeIn(500, function(){
api.play();
});
非常感谢您的帮助。您难道不知道吗,我在发布这篇文章后就发现了这一点 这就是我所做的
api.bind("finish", function(e, api) {
alert("Alert");
});
你好