mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 09:49:28 +02:00
Update
This commit is contained in:
parent
6d42cdf411
commit
447599d0b6
4 changed files with 28 additions and 17 deletions
|
@ -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 ***");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue