Browse Source

:bug: 视频播放bug

zhanghe 6 years ago
parent
commit
2991390592
1 changed files with 1 additions and 1 deletions
  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() {