Skip to content

ace90/HTML5-Background-Video

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 

Repository files navigation

jQuery - Background video plugin

Add a background video to your website…

Usage

Add the script to your homepage after jquery <script src="js/libs/jquery.backgroundvideo.min.js"></script>

And launch the plugin :

<script>
  $(document).ready(function() {
    var videobackground = new $.backgroundVideo($('body'), {
      "align": "centerXY",
      "width": 1280,
      "height": 720,
      "path": "media/",
      "filename": "cloud",
      "types": ["mp4","ogg","webm"]
    });
  });
</script>

Examples

Check out the example folder.

About

<video> as background

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published