From 98910c55b282bb5461bcd21a7faf001db2571b36 Mon Sep 17 00:00:00 2001 From: hugolpz Date: Thu, 8 Aug 2024 23:48:21 +0200 Subject: [PATCH] iframe width = 270 --- SignItVideosGallery.js | 2 +- SignItVideosIframe.html | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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,