项目
在 GitHub 查看
Victa/HTML5-Background-Video
关于
PROJECT IS NOT MAINTAINED - <video> as background
设计与媒体实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文jQuery - Background video plugin
Add a background video to your website…
Download
The full source can be downloaded from the master branch on GitHub (as a zip or gz) or installed via bower (bower install background-video).
Usage
Add the script to your homepage after jquery <script src="js/libs/jquery.backgroundvideo.min.js"></script>
And launch the plugin :
<script>
$(document).ready(function() {
var videobackground = new $.backgroundVideo($('body'), {
"align": "centerXY",
"width": 1280,
"height": 720,
"path": "media/",
"filename": "cloud",
"types": ["mp4","ogg","webm"],
"preload": true,
"autoplay": true,
"loop": true
});
});
</script>
Examples
Check out the example folder.
探索相关项目
加载中…