1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-03 09:49:28 +02:00
This commit is contained in:
Daniel Neto 2023-10-27 11:01:33 -03:00
parent 6d42cdf411
commit 447599d0b6
4 changed files with 28 additions and 17 deletions

View file

@ -640,7 +640,7 @@ function playerPlay(currentTime) {
} else {
if (promisePlaytryNetworkFail >= 5) {
userIsControling = true;
console.log("playerPlay: (promisePlaytryNetworkFail) Autoplay was prevented");
console.log("playerPlay: (promisePlaytryNetworkFail) Autoplay was prevented player.pause()");
player.pause();
} else if (promisePlaytry <= 10) {
//console.log("playerPlay: (" + promisePlaytry + ") Autoplay was prevented, trying to mute and play ***");