dever 4 years ago
parent
commit
9e86a6dba9
1 changed files with 3 additions and 3 deletions
  1. 3 3
      lib/dever/components/video.nvue

+ 3 - 3
lib/dever/components/video.nvue

@@ -169,10 +169,10 @@ export default {
 		},
 		},
 		autoStart : function() {
 		autoStart : function() {
 			//h5下无法自动播放,这里考虑使用先静音播放
 			//h5下无法自动播放,这里考虑使用先静音播放
-			this.muted = false;
+			this.muted = true;
 			this.video.play();
 			this.video.play();
-			//this.video.currentTime = 0;
+			this.video.currentTime = 0;
-			//this.video.pause();
+			this.video.pause();
 		},
 		},
 		start : function()  {
 		start : function()  {
 			if (this.disabled) {
 			if (this.disabled) {