Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Adding HTML5 video backgrounds to websites
Branch: master
Pull request Compare This branch is 12 commits behind sydlawrence:master.

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
assets
README
demo_bg.html
demo_div.html
demo_text.html
index.html
jquery.videoBG.js

README

http://syddev.com/jquery.videoBG

jquery.videoBG by Syd Lawrence ( www.sydlawrence.com )

Version: 0.2

Usage: $('body').videoBG(options);


Disclaimer: Don't abuse this code... Don't use it too often, too many video instances will slow down the browser.
			Please bear in mind bandwidth usage for both you, and your visitors




Browser Support:

												Video			Image
Firefox 4 (the best experience) 				Yes (webm) 		Yes
Internet Explorer 9 							Yes (mp4) 		Yes
Firefox 3.5										Yes (ogv) 		Yes
Chrome 											Yes (webm/mp4) 	Yes
Safari 											Yes (mp4) 		Yes
Opera 10.5+										Yes (ogv) 		Yes
Internet Explorer 8 							No 				Yes
Internet Explorer 7 							No 				Yes
Android Browser 								No 				Yes
Mobile Safari 									Does not modify default behaviour
Older Browsers that support position:fixed 		No 				Yes
Archaic browsers 								Does not modify default behaviour
Something went wrong with that request. Please try again.