Adding HTML5 video backgrounds to websites
CSS JavaScript
Latest commit 53f7bde Feb 7, 2015 @sydlawrence Update README.md
Failed to load latest commit information.
assets Fixed for screen resize and gives static bg for iphone etc Feb 20, 2012
README.md Update README.md Feb 7, 2015
demo_bg.html Typo Mar 15, 2011
demo_div.html Typo Mar 15, 2011
demo_text.html Typo Mar 15, 2011
index.html README changes Mar 15, 2011
jquery.videoBG.js fixed a bug, sorry! Jul 13, 2014

README.md

jquery.videoBG

by Syd Lawrence ( www.sydlawrence.com )

NO LONGER SUPPORTED OR MAINTAINED, CLONE AT YOUR OWN RISK, NOT ADVISED TO USE

Version: 0.2.1

Usage

var videoBG = $('body').videoBG(options);

FAQs

If not displaying correctly in Firefox, make sure your server is outputting the current MIME type for ogv and webm videoBG is now a element

Warning

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

Firefox 4+ (the best experience)Yes (webm)Yes
Internet Explorer 9+Yes (mp4)Yes
Firefox 3.5Yes (ogv)Yes
ChromeYes (webm/mp4)Yes
SafariYes (mp4)Yes
Opera 10.5+Yes (ogv)Yes
Internet Explorer 8NoYes
Internet Explorer 7NoYes
Android BrowserNoYes
Mobile SafariDoes not modify default behaviour
Older Browsers that support position:fixedNoYes
Archaic browsersDoes not modify default behaviour