Skip to content

heymowski/YTModal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

YTModal

Bootstrap Modal & YouTube Video

Bootstrap Modal & YouTube Video Example


Si necesitas introducir en una misma página varios vídeos de YouTube y no quieres que eso penalice la carga de la misma, puedes cargarlos con este método mediante el cual primero se carga solo las imágenes default de cada vídeo y posteriormente se carga el vídeo en un modal de bootstrap mediante la iframe_api de YouTube.


If you need to enter on the same page several YouTube videos and do not want that to penalize the loading time of it, you can load them with this method, which first loads only the default images for each video and then load the video in a bootstrap modal using the iframe_api provided by YouTube.


References and code base:

Alexis Ulrich
http://www.sitepoint.com/faster-youtube-embeds-javascript/

Jesse Schoberg
http://schoberg.net/2015/08/fast-agile-youtube-embed-responsive-iframe-load-delay-with-jquery/

YouTube	
https://developers.google.com/youtube/iframe_api_reference

About

Bootstrap Modal & YouTube Video

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published