| | |
| | | }, 500); |
| | | |
| | | //测试页面跳转 |
| | | setTimeout(() => { |
| | | this.gotoPage(6, 169); |
| | | // setTimeout(() => { |
| | | // this.gotoPage(5, 130); |
| | | // setTimeout(() => { |
| | | // this.renderSign("Highlight", { |
| | | // id: "2ACA9359", |
| | |
| | | // ids: ["2ACA9359"] |
| | | // }); |
| | | // }, 2000); |
| | | }, 500); |
| | | // }, 500); |
| | | |
| | | // const pageDom = (this.container ? this.container : document) |
| | | // .querySelector("#app") |
| | |
| | | const topGap = playVudio.getBoundingClientRect().top; |
| | | if (bottomGap < 0 || topGap > window.innerHeight) { |
| | | try { |
| | | if (playVudio.readyState) playVudio.requestPictureInPicture(); |
| | | if (playVudio.readyState){ |
| | | setTimeout(()=>{ |
| | | playVudio.requestPictureInPicture(); |
| | | },0) |
| | | } |
| | | } catch (error) { |
| | | console.log(error, "小窗错误error"); |
| | | } |