đź”” Alert..!! Get 2 Month Free Cloud Hosting With $200 Bonus From Digital Ocean ACTIVATE DEAL

YTModal helps you play Youtube videos in a popup window based jQuery and Twitter Bootstrap modal component.

Modal Bootstrap video Youtube

Documentation

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 


You May Also Like