Videojs currentTime()函数在Firefox中不起作用

时间:2012-11-28 18:12:18

标签: firefox video.js

我正在使用videojs currentTime()函数跳转到视频中的特定时间。我有它在Chrome中工作,但Firefox(16)似乎没有响应(其他api函数,如播放/暂停在FF中工作)。

Videojs api docs:https://github.com/zencoder/video-js/blob/master/docs/api.md#currenttimeseconds--type-integer-or-float

_V_("video").ready(function(){
    var vidplayer = this;       
});

$(function() {
    $('#time').click(function() {
        seconds = $(this).text();
        vidplayer.currentTime(seconds);
        vidplayer.play();
    });
});

0 个答案:

没有答案
相关问题