Set video width.
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Captain ALM 2022-07-30 15:12:43 +01:00
parent 1c1418e78a
commit 7951002892
Signed by: alfred
GPG Key ID: 4E4ADD02609997B1

View File

@ -33,6 +33,7 @@ function ActivateVideo(id) {
holder.removeChild(document.getElementById("play-"+id)) holder.removeChild(document.getElementById("play-"+id))
let vid = document.createElement("video") let vid = document.createElement("video")
vid.controls = true vid.controls = true
vid.width = 360
let vids = document.createElement("source") let vids = document.createElement("source")
vids.src = EntryData[id].videourl vids.src = EntryData[id].videourl
vids.type = EntryData[id].videotype vids.type = EntryData[id].videotype