huangxiaojing 4 年之前
父節點
當前提交
97236036ac
共有 1 個文件被更改,包括 1 次插入12 次删除
  1. 1 12
      screenIos/WXtrialInterface.html

+ 1 - 12
screenIos/WXtrialInterface.html

@@ -123,7 +123,6 @@
 
 	<script>
 		var topwinHeight = window.screen.height - window.innerHeight + 30; //计算title top 头部
-		var isAudioPlay = false;
 		$('#wine').css({
 			"width": window.screen.width,
 			"height": window.screen.height - topwinHeight - 20,
@@ -430,16 +429,6 @@
 					$('.weui-mask_transparent').hide()
 					$('.weui-toast').hide()
 					$('.loading').hide()
-					$.alert({
-						title: '提示',
-						text: '开始使用云手机',
-						onOK: function () {
-							isAudioPlay = true;
-							$('.weui-mask_transparent').hide();
-							$('.weui-toast').hide();
-							$('.loading').hide();
-						}
-					});
 			}
 		}
 
@@ -466,7 +455,7 @@
 
 		webSocketWorker.onmessage = function (event) {
 			var input = event.data;
-			if (input[0] == 0xff && isAudioPlay) {
+			if (input[0] == 0xff) {
 				decodeAAC(input);
 			}
 			if (input[0] == 0 && input[1] == 0 && input[2] == 0 && input[3] == 1) {