From 795100289205de19e05c9f9ab4cb8ac3df948cb5 Mon Sep 17 00:00:00 2001 From: Captain ALM Date: Sat, 30 Jul 2022 15:12:43 +0100 Subject: [PATCH] Set video width. --- index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/index.js b/index.js index 2fd15ea..e921d19 100644 --- a/index.js +++ b/index.js @@ -33,6 +33,7 @@ function ActivateVideo(id) { holder.removeChild(document.getElementById("play-"+id)) let vid = document.createElement("video") vid.controls = true + vid.width = 360 let vids = document.createElement("source") vids.src = EntryData[id].videourl vids.type = EntryData[id].videotype