我嵌入了vimeo视频,并在Firefox 40中出现此错误:
TypeError: e._video.currentFile is null
这是代码:
<script type="text/javascript" src="https://vimeo.com/api/oembed.json?url=https://vimeo.com/128202299&api=true&callback=embedVimeo"></script>
<script type="text/javascript" src="https://f.vimeocdn.com/js/froogaloop2.min.js"></script>
function embedVideo(data) {
var iframe, player;
$('#divVideo').html(data.html);
iframe = $('iframe')[0];
player = $f(iframe);
player.api('play');
}
答案 0 :(得分:0)
此错误似乎没有在Firefox上安装Flash插件,因为Vimeo仅在Linux和MacOS上显示Flash Player。