HTML5-Background-Video
HTML5-Background-Video copied to clipboard
add sound as an option
usage:
var videobackground = new $.backgroundVideo($('#video-wrap'), {
"align": "centerXY",
"width": 1280,
"height": 720,
"path": "video/",
"filename": "casino",
"types": ["mp4"],
"preload": true,
"autoplay": true,
"loop": true,
"sound" : false
});
Why does the video play only after pressing ctrl + f5?How to make it play automatically?Thanks.