|
@@ -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");
|