Skip to content

Commit

Permalink
iframe width = 270
Browse files Browse the repository at this point in the history
  • Loading branch information
hugolpz committed Aug 8, 2024
1 parent 97ed4c4 commit 98910c5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion SignItVideosGallery.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ SignItVideosGallery.prototype.refresh = async function (files) {
$(`
<div style="display: none;">
<iframe controls="" muted="" preload="auto"
src="https://lingua-libre.github.io/SignIt/SignItVideosIframe.html?width=200&twospeed=${param.twospeed}&video=${files[i].filename}" class=""></iframe>
src="https://lingua-libre.github.io/SignIt/SignItVideosIframe.html?width=2700&twospeed=${param.twospeed}&video=${files[i].filename}" class=""></iframe>
${await banana.i18n(
"si-panel-videos-gallery-attribution",
url,
Expand Down
4 changes: 2 additions & 2 deletions SignItVideosIframe.html
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 98910c5

Please sign in to comment.