【问题标题】:Trouble with Vimeo API frogaloop getCurrentTimeVimeo API frogaloop getCurrentTime 的问题
【发布时间】:2012-02-15 20:35:27
【问题描述】:

我希望从播放器获取当前时间,我让视频暂停

$('#add').click(function() {
var player;
player=$f(document.getElementById('vimeoPlayer'));
player.api('pause');
});

但是当我尝试添加时

player.api('getCurrentTime', function(value) {
alert('yes');
});

我什么都没得到,有什么想法吗?

【问题讨论】:

    标签: api vimeo


    【解决方案1】:

    我认为我编写的这个示例将帮助您了解 Vimeo API 的工作原理: http://labs.funkhausdesign.com/examples/vimeo/froogaloop2-api-basics.html

    【讨论】:

    • 感谢这个 Drew,一切顺利!
    猜你喜欢
    • 1970-01-01
    • 2021-05-09
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2021-12-30
    相关资源
    最近更新 更多