Skip to content

Latest commit

 

History

10 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

YoutubeDelayed.js

Youtube Delayed Loader - a small script which allows you to load youtube player on page only when the user wants to watch the video. This is very helpful when your page contains a lot of Youtube videos which slow down its load.

Usage

Include YoutubeDelayed.js and YoutubeDelayed.css (or minified versions) in page. Put the code: <div data-videoid="{Your Youtube video ID}" class="YoutubeDelayed"></div> where you what the player to be displayed.

Demo

http://mad-gooze.github.io/YoutubeDelayed.js

About

Youtube Delayed Loader - a small script allows you to load youtube player on page only when the user wants to watch the video. This is very helpful when your page contains a lot of Youtube videos which slow down its load.

Resources

Stars

23 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages