|
@@ -115,9 +115,9 @@
|
|
|
<script type="text/javascript" src="jmuxer.js"></script>
|
|
|
<script>
|
|
|
var isAudioPlay = false;
|
|
|
- var video = document.getElementById("playerVideo");
|
|
|
- video.play();
|
|
|
if(navigator.userAgent.toLowerCase().includes('toutiaomicroapp')){
|
|
|
+ var video = document.getElementById("playerVideo");
|
|
|
+ video.play();
|
|
|
setTimeout(() => { // 抖音环境需要设置延时,不然会有video默认图显示
|
|
|
$.alert({
|
|
|
title: '提示',
|
|
@@ -134,6 +134,8 @@
|
|
|
title: '提示',
|
|
|
text: '开始使用云手机',
|
|
|
onOK: function () {
|
|
|
+ var video = document.getElementById("playerVideo");
|
|
|
+ video.play();
|
|
|
isAudioPlay = true;
|
|
|
}
|
|
|
});
|