diff --git a/SignItVideosGallery.js b/SignItVideosGallery.js index ce32dec..555cea5 100644 --- a/SignItVideosGallery.js +++ b/SignItVideosGallery.js @@ -114,7 +114,7 @@ SignItVideosGallery.prototype.refresh = async function (files) { $(`
+ src="https://lingua-libre.github.io/SignIt/SignItVideosIframe.html?width=2700&twospeed=${param.twospeed}&video=${files[i].filename}" class=""> ${await banana.i18n( "si-panel-videos-gallery-attribution", url, diff --git a/SignItVideosIframe.html b/SignItVideosIframe.html index 31418c5..02fba7d 100644 --- a/SignItVideosIframe.html +++ b/SignItVideosIframe.html @@ -38,8 +38,8 @@ } // Pass size parameter - var width = getUrlParameter('width') || 250; - document.getElementById('signitVideoElement').width = width || 250; + var width = getUrlParameter('width') || 270; + document.getElementById('signitVideoElement').width = width; // Pass speed parameter var speedNormal = getUrlParameter('speedNormal') || 1,