闫增涛
2024-12-31 a8da6c44895f90bc6d33df129bccd424bf73be3e
src/books/aviationSafety/view/components/index.vue
@@ -927,7 +927,11 @@
          const bottomGap = playVudio.getBoundingClientRect().bottom;
          const topGap = playVudio.getBoundingClientRect().top;
          if (bottomGap < 0 || topGap > window.innerHeight) {
            playVudio.requestPictureInPicture();
            try {
            if(playVudio.readyState) playVudio.requestPictureInPicture();
          } catch (error) {
              console.log(error,"小窗错误error");
          }
          }
        }
      },