huangxiaojing 4 년 전
부모
커밋
40430f8251
1개의 변경된 파일20개의 추가작업 그리고 12개의 파일을 삭제
  1. 20 12
      screenAndroid/WXtrialInterface.html

+ 20 - 12
screenAndroid/WXtrialInterface.html

@@ -127,18 +127,26 @@
 	<script type="text/javascript" src="jmuxer.js"></script>
 	<script>
 		var isAudioPlay = false;
-		$.alert({
-			title: '提示',
-			text: '开始使用云手机',
-			onOK: function () {
-				var video = document.getElementById("playerVideo");
-				video.play();
-				isAudioPlay = true;
-				$('.weui-mask_transparent').hide();
-				$('.weui-toast').hide();
-				$('.loading').hide();
-			}
-		});
+		// $.alert({
+		// 	title: '提示',
+		// 	text: '开始使用云手机',
+		// 	onOK: function () {
+		// 		var video = document.getElementById("playerVideo");
+		// 		video.play();
+		// 		isAudioPlay = true;
+		// 		$('.weui-mask_transparent').hide();
+		// 		$('.weui-toast').hide();
+		// 		$('.loading').hide();
+		// 	}
+		// });
+		$(body).click(function () {
+			var video = document.getElementById("playerVideo");
+			video.play();
+			isAudioPlay = true;
+			$('.weui-mask_transparent').hide();
+			$('.weui-toast').hide();
+			$('.loading').hide();
+		})
 		// document.addEventListener('touchstart', function () {
 		// 	var video = document.getElementById("playerVideo");
 		// 	var audio = document.getElementById("audioPlayer");