From 396038a803f5479bb1181d8d0992ddd4f03b3f90 Mon Sep 17 00:00:00 2001 From: bytedream Date: Tue, 19 Jul 2022 11:28:11 +0200 Subject: [PATCH] Fix replace video player height --- src/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/index.ts b/src/index.ts index 5840fe7..622804d 100644 --- a/src/index.ts +++ b/src/index.ts @@ -25,6 +25,7 @@ async function main() { if (match.replace && !url.endsWith('.m3u8')) { const player = document.createElement('video') player.style.width = '100%' + player.style.height = '100%' player.controls = true player.src = url