y595705120 3 年 前
コミット
055149d890

+ 1 - 1
src/containers/center/play/components/media.vue

@@ -84,7 +84,7 @@
         }else if (!this.media.position ){
           setTimeout( ()=>{
             that.doPlay()
-          }, 2000 )
+          }, 1000 )
         }
         this.isReady = true
       },

+ 1 - 0
src/containers/center/play/index.vue

@@ -228,6 +228,7 @@
         }
         this.options.sources = [{src:mediaUrl,type: "application/x-mpegURL"}];
         this.options.playtimes = this.media.position||0;
+        this.options.autoplay = this.options.playtimes>0;
         this.mediaDialog = true;
       }
     },