mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-08 19:06:15 -08:00
Update mobile.html
This commit is contained in:
1 parent
8a5910b530
commit
361c0b5eba
1 file changed
-12
@@ -165,18 +165,6 @@
|
||||
console.log('video: ' + event.type);
|
||||
});
|
||||
});
|
||||
|
||||
if (Artplayer.utils.isWechat) {
|
||||
document.querySelector('.tip').textContent = '微信环境需手动触发播放';
|
||||
let isClick = false;
|
||||
document.body.addEventListener('click', () => {
|
||||
if (!isClick) {
|
||||
isClick = true;
|
||||
art.play();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
</script>
|
||||
</body>
|
||||
|
||||
|
||||
Reference in new issue
Block a user