1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-05 02:39:46 +02:00
This commit is contained in:
DanielnetoDotCom 2020-11-09 10:30:07 -03:00
parent d2f0cafebb
commit 23390b15e9

View file

@ -491,7 +491,7 @@ function playerPlay(currentTime) {
function tryToPlay(currentTime) {
clearTimeout(promisePlayTimeout);
promisePlayTimeoutTime += 200;
if (promisePlayTimeoutTime > 1000) {
if (promisePlayTimeoutTime >= 1000) {
if (promisePlayTimeoutTime == 1000) {
$.toast("Your browser prevent autoplay");
return false;