小提琴:https://codepen.io/anon/pen/ZyLqPd
拨弄YTVideos:https://codepen.io/anon/pen/KqXavy?editors=0100自动播放的YouTube视频的背景瓷砖
http://www.seanmccambridge.com/tubular/ https://pupunzi.com/#mb.components/mb.YTPlayer/YTPlayer.html
是否有图书馆,在那里,容易使加入的背景YouTube视频到一个div?
我查遍了,找不到任何东西。
本质上我想播放YouTube视频作为div截图的背景。
$('.canvas .box').YTPlayer({
fitToBackground: true,
videoId: '-JlcxL2ux_A'
});
你可以很容易修改此做你追求的:https://开头codepen。 io/dudleystorey/pen/PZyMrd –