Javascript BigVideo.js未捕获引用错误:_V_u未定义
当我尝试使用BigVideo.js()时,出现了此错误 此错误正好出现在这一行之后Javascript BigVideo.js未捕获引用错误:_V_u未定义,javascript,jquery,ruby-on-rails,ruby,Javascript,Jquery,Ruby On Rails,Ruby,当我尝试使用BigVideo.js()时,出现了此错误 此错误正好出现在这一行之后 player = _V_(vidEl.substr(1), { 'controls': false, 'autoplay': true, 'preload': 'auto' }); 我正在运行RubyonRails,这是我用来加载BigVideo的脚本 <script> jQuery(document).ready(function($){ var BV = new $.BigVideo();
player = _V_(vidEl.substr(1), { 'controls': false, 'autoplay': true, 'preload': 'auto' });
我正在运行RubyonRails,这是我用来加载BigVideo的脚本
<script>
jQuery(document).ready(function($){
var BV = new $.BigVideo();
BV.init();
BV.show('http://video-js.zencoder.com/oceans-clip.mp4');
});
</script>
jQuery(文档).ready(函数($){
var BV=new$.BigVideo();
BV.init();
BV.show('http://video-js.zencoder.com/oceans-clip.mp4');
});
感谢您的帮助 对我来说似乎是一个依赖性问题。 检查您的文档中是否正确包含video.js以及imagesloaded和jquery ui
<script>
jQuery(document).ready(function($){
var BV = new $.BigVideo();
BV.init();
BV.show('http://video-js.zencoder.com/oceans-clip.mp4');
});
</script>