Sfoglia il codice sorgente

:bug: 视频播放bug

zhanghe 6 anni fa
parent
commit
2991390592
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      src/util/HlsVideoPlugin.js

+ 1 - 1
src/util/HlsVideoPlugin.js

@@ -22,7 +22,7 @@ class HlsVideoPlugin {
   }
 
   playStatus() {
-    return !this.video.paused;
+    return this.video ? !this.video.paused : false;
   }
 
   pause() {