我试图使用一个JQuery插件,所有的工作,除了视频没有加载,我不知道为什么。我有一个vimeo视频,我想显示在我的网站与模型视频播放器。这是插件
这是我的代码:
<script src = "Scripts/modal-video.js"></script>
<button class="js-modal-btn" data-video-id="217038687">Open Vimeo</button>
<script>
$(document).ready(function() {
$(".js-modal-btn").modalVideo({channel:'vimeo'});
});
</script>这就是我单击示例按钮模态视图时所看到的。
我还在页面源file://player.vimeo.com/video/217038687?api=false&autopause=true&autoplay=true&byline=true&loop=false&portrait=true&title=true&xhtml=falseFailed上获得了这个错误来加载资源:请求的URL在此服务器上找不到。
发布于 2017-05-13 00:02:33
错误引用file://可能会导致我认为您在嵌入的href上缺少协议,但在示例中没有提供此协议。
https://stackoverflow.com/questions/43947385
复制相似问题