我正在使用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();
});
});