Explorar el Código

视频播放日志

y595705120 hace 20 horas
padre
commit
da2de61010
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  1. 3 1
      src/containers/center/play/play.vue

+ 3 - 1
src/containers/center/play/play.vue

@@ -224,6 +224,9 @@
             if (!target && this.list.length) {
               target = this.list[0]
             }
+            if (target) {
+              this.loadMedia(target)
+            }
           }
         })
       },
@@ -416,7 +419,6 @@
       onPlayerStart() {
         console.log("onPlayerStart")
         this.reportErr("play", 'start');
-        this.onPlay = true
       },
       toggleMute() {
         this.isMuted = !this.isMuted