Vimeo在Firefox 40中没有显示:TypeError:e._video.currentFile为null

时间:2015-08-24 16:03:05

标签: javascript firefox vimeo vimeo-api vimeo-player

我嵌入了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&amp;api=true&amp;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');
}

1 个答案:

答案 0 :(得分:0)

此错误似乎没有在Firefox上安装Flash插件,因为Vimeo仅在Linux和MacOS上显示Flash Player。