闫增涛
2024-10-25 aba106c0854f7f716f7eaaa66a2ba176ab7b2f85
视频小窗优化
1个文件已修改
2 ■■■ 已修改文件
src/books/civilAviationServices/view/components/index.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/books/civilAviationServices/view/components/index.vue
@@ -908,7 +908,7 @@
          const bottomGap = playVudio.getBoundingClientRect().bottom;
          const topGap = playVudio.getBoundingClientRect().top;
          if (bottomGap < 0 || topGap > window.innerHeight) {
            playVudio.requestPictureInPicture();
            if(playVudio.readyState) playVudio.requestPictureInPicture();
          }
        }
      },