bigvideo.js 可以使用youtube 视频吗?
bigvideo.js possible to use youtube video?
我刚开始使用 bigvideo.js
我想知道是否可以使用 youtube 视频,或者是否有一个 js 插件可以让我仅在一个元素上使用 youtube 视频全屏...这是我的代码:
$(function() {
var BV = new $.BigVideo({container: $('#header')});
BV.init();
BV.show('https://www.youtube.com/embed/VIDEO_ID');
});
BigVideo github 上有一个 closed issue,BigVideo 的创建者指出这是不可能的:
BigVideo requires a direct link to the mp4, not an embed code. If you want to use YouTube, try Tubular http://www.seanmccambridge.com/tubular/
我刚开始使用 bigvideo.js
我想知道是否可以使用 youtube 视频,或者是否有一个 js 插件可以让我仅在一个元素上使用 youtube 视频全屏...这是我的代码:
$(function() {
var BV = new $.BigVideo({container: $('#header')});
BV.init();
BV.show('https://www.youtube.com/embed/VIDEO_ID');
});
BigVideo github 上有一个 closed issue,BigVideo 的创建者指出这是不可能的:
BigVideo requires a direct link to the mp4, not an embed code. If you want to use YouTube, try Tubular http://www.seanmccambridge.com/tubular/