mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-05 19:42:38 +02:00
This commit is contained in:
parent
d2f0cafebb
commit
23390b15e9
1 changed files with 1 additions and 1 deletions
|
@ -491,7 +491,7 @@ function playerPlay(currentTime) {
|
||||||
function tryToPlay(currentTime) {
|
function tryToPlay(currentTime) {
|
||||||
clearTimeout(promisePlayTimeout);
|
clearTimeout(promisePlayTimeout);
|
||||||
promisePlayTimeoutTime += 200;
|
promisePlayTimeoutTime += 200;
|
||||||
if (promisePlayTimeoutTime > 1000) {
|
if (promisePlayTimeoutTime >= 1000) {
|
||||||
if (promisePlayTimeoutTime == 1000) {
|
if (promisePlayTimeoutTime == 1000) {
|
||||||
$.toast("Your browser prevent autoplay");
|
$.toast("Your browser prevent autoplay");
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue