Simple Youtube Video Background Plugin For jQuery - bigYouTube

File Size: 8.24 KB
Views Total: 1159
Last Update:
Publish Date:
Official Website: Go to website
License: MIT
   
Simple Youtube Video Background Plugin For jQuery - bigYouTube

bigYouTube is a tiny jQuery plugin that allows you use an Youtube video as a video background for any container.

How to use:

1. Include the jQuery bigYouTube plugin after jQuery JavaScript library.

<script src="//code.jquery.com/jquery-1.11.3.min.js"></script>
<script src="src/jquery.big-youtube.js"></script>

2. Call the plugin on the target container and specify the Youtube video ID you want to use.

var options = {
    'videoId': '6snxouNdubg'
};
$('#container').bigYouTube(options);

3. By default, the plugin will automatically mute the Youtube video when it starts playing. You can change the mute option during initialization.

var options = {
    'videoId': '6snxouNdubg'
    'mute': true
};
$('#container').bigYouTube(options);

Change log:

2015-08-19

  • http->https

This awesome jQuery plugin is developed by tomtomau. For more Advanced Usages, please check the demo page or visit the official website.