Przeglądaj źródła

:bug: 视频播放bug

zhanghe 6 lat temu
rodzic
commit
2991390592
1 zmienionych plików z 1 dodań i 1 usunięć
  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() {