🔔 Alert..!! Get 2 Month Free Cloud Hosting With $200 Bonus From Digital Ocean ACTIVATE DEAL

Just another video background plugin with jQuery that allows to use Youtube and/or HTML5 videos as covering backgrounds for any containers you specify.

background video-background

Documentation

ULTIMATE PAGE, DIV BACKGROUND

This is the jQuery plugin to add image/video background to any divs on your HTML page. It supports both YouTube videos and self hosted video.

If you have questions, please send an email to dat.tm24 (I use gmail)

Thanks!

How to use

Using the plugin is very simple. You need to include it in your page first, of course. After that, suppose you want to add YouTube video background to div#video, do this

jQuery('#video').c47bg({   type: 'youtube',   container: 'div',   source: 'youtube video ID' });

If you want to use self hosted video, make sure you have .mp4, .ogv and .webm

jQuery('#video').c47bg({   type: 'self-hosted',   container: 'div',   source: {     mp4: 'mp4 url',     webm: 'webm url',     ogv: 'ogv url'   } });

If you want to apply the video to the body, replace container from div to body.


You May Also Like