Maximize all video players.Support Piture-in-picture.
< Feedback on Maximize Video
按钮居左 设置const playerRect = tool.getRect(gv.player) gv.controlBtn.style.opacity = "0.5" gv.controlBtn.innerHTML = gv.btnText.max gv.controlBtn.style.top = playerRect.screenY - 20 + "px" // 网页全屏按钮位置,Maximize button gv.controlBtn.style.left = playerRect.screenX + "px" gv.picinpicBtn.style.opacity = "0.5" gv.picinpicBtn.innerHTML = gv.btnText.pip gv.picinpicBtn.style.top = gv.controlBtn.style.top // 画中画按钮位置,PicInPic button gv.picinpicBtn.style.left = playerRect.screenX + 65+ "px"
Sign in to post a reply.
按钮居左 设置
const playerRect = tool.getRect(gv.player)
gv.controlBtn.style.opacity = "0.5"
gv.controlBtn.innerHTML = gv.btnText.max
gv.controlBtn.style.top = playerRect.screenY - 20 + "px"
// 网页全屏按钮位置,Maximize button
gv.controlBtn.style.left = playerRect.screenX + "px"
gv.picinpicBtn.style.opacity = "0.5"
gv.picinpicBtn.innerHTML = gv.btnText.pip
gv.picinpicBtn.style.top = gv.controlBtn.style.top
// 画中画按钮位置,PicInPic button
gv.picinpicBtn.style.left = playerRect.screenX + 65+ "px"