From 22b5df19e82d47f4caee33d226013ffc0b75a235 Mon Sep 17 00:00:00 2001 From: vallarinoj Date: Wed, 29 Aug 2018 13:56:12 -0500 Subject: [PATCH] Update ekko-lightbox.js Allows youtube autoplay (disabled by youtube) --- dist/ekko-lightbox.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dist/ekko-lightbox.js b/dist/ekko-lightbox.js index b7be6e1..6c67ef3 100644 --- a/dist/ekko-lightbox.js +++ b/dist/ekko-lightbox.js @@ -457,7 +457,7 @@ var Lightbox = (function ($) { value: function _showVideoIframe(url, width, height, $containerForElement) { // should be used for videos only. for remote content use loadRemoteContent (data-type=url) height = height || width; // default to square - $containerForElement.html('
'); + $containerForElement.html('
'); this._resize(width, height); this._config.onContentLoaded.call(this); if (this._$modalArrows) this._$modalArrows.css('display', 'none'); //hide the arrows when showing video