You might have seen some website which have video played on the background which automatically fit to screen and play when you access the page. Today I will show you how you can set Youtube video as page background using jQuery.
jQuery Background video
We will use jQuery backround video V1.0 for our example, jQuery background video V1.0 is the plugin that lets you set the youtube video as page background.
Steps to add Youtube video as page backround
First of all create one index.html file and add following code, you need to add an id to <div>.
<title>Demo - Play youtube video as page background using jQuery - ecodezone.com</title>
<div id="background-video" class="background-video">