Explorar o código

:bug: 视频播放bug

zhanghe %!s(int64=6) %!d(string=hai) anos
pai
achega
2991390592
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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() {