FlowPlayer:是否有 html5 "timeupdate" 事件的等效项,以便我可以获得 flowPlayer 对象的当前时间 属性?
FlowPlayer: Is there an equivalent for the html5 "timeupdate" event, so I can get the currentTime property of flowPlayer Object?
$("video").on('timeupdate', function() {
console.log(this.currentTime);
});
像这样,如何控制flowPlayer对象currentTime?
也许你可以
flowplayer(function (api, root) {
api.on("progress", function (e, api) {
console.log(api.video.time);
});
});
$("video").on('timeupdate', function() {
console.log(this.currentTime);
});
像这样,如何控制flowPlayer对象currentTime?
也许你可以
flowplayer(function (api, root) {
api.on("progress", function (e, api) {
console.log(api.video.time);
});
});