当我尝试使用 BigVideo.js ( http://dfcb.github.io/BigVideo.js/ ) 时出现此错误
Uncaught ReferenceError: _V_ is not defined
这个错误就在这一行之后出现
player = _V_(vidEl.substr(1), { 'controls': false, 'autoplay': true, 'preload': 'auto' });
我在 rails 上运行 ruby,这是我用来加载 BigVideo 的脚本
<script>
jQuery(document).ready(function($){
var BV = new $.BigVideo();
BV.init();
BV.show('http://video-js.zencoder.com/oceans-clip.mp4');
});
</script>
感谢任何帮助!
最佳答案
在我看来像是一个依赖问题。 检查您的文档中是否正确包含了 video.js,以及 imagesloaded 和 jquery ui。
关于javascript - BigVideo.js Uncaught ReferenceError : _V_ is not defined,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19976768/