Maximize Video

Maximize all video players.Support Piture-in-picture.

< Feedback on Maximize Video

Review: Good - script works

§
Posted: 29. 01. 2024

I changed this code: locate() {
const playerRect = tool.getRect(gv.player)

gv.controlBtn.style.display = "flex"
gv.controlBtn.style.justifyContent = "center"
gv.controlBtn.style.opacity = "0.5"
gv.controlBtn.innerHTML = gv.btnText.max
gv.controlBtn.style.top = playerRect.screenY - 20 + "px"
gv.controlBtn.style.marginLeft = 10 + "px"

gv.picinpicBtn.style.display = "flex"
gv.picinpicBtn.style.justifyContent = "center"
gv.picinpicBtn.style.opacity = "0.5"
gv.picinpicBtn.innerHTML = gv.btnText.pip
gv.picinpicBtn.style.top = gv.controlBtn.style.top
gv.picinpicBtn.style.marginLeft = 65 + "px"

},

Post reply

Sign in to post a reply.