抱歉,如果我的曲子不好听。
我有这段html代码
HTML:
<div class="video_bg"> ---- Some Code to execute ---</div>
CSS:
.video_bg{
width:600px;
height:600px;
float:left;
}
并有一个视频嵌入代码
<iframe src="//player.vimeo.com/video/71906867" width="500" height="281" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>
问题:我可以使用任何脚本或 CSS 将此视频用作 div“video_bg”的背景吗?
您可以轻松使用 jquery.videobackground 插件。
阅读此处:http://georgepaterson.github.io/jquery-videobackground/ http://georgepaterson.github.io/jquery-videobackground/
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)