Set YouTube Video as webpage background


Do you ever think of adding a YouTube video as a background of your web page? Many of you think it as impossible. But Tubular is a nice jQuery plugin which allow users to set a video from YouTube as web page background. This requires javascript and Flash at the client’s browser. The script is totally dependent on the Flash and jQuery.

You will need to know the YouTube ID of the video you want to use as well as the container DIV of your web page.

How to use:


Attach the jQuery to your webpage.

Load swfobject.

Load the tubular plugin. tubular must be called AFTER the previous two calls.

Call tubular on your BODY tag with the YouTube ID and your content container DIV as parameters.

Demo Download


Written by Deepanker

Deepanker Verma is the founder of Techlomedia. He is a tech blogger, developer and gadget freak.

Leave a Reply

Your email address will not be published. Required fields are marked *


7 Magazine Style Blogger Templates

Resumable Uploads via HTML5 File – JavaScript API