mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-05 10:49:36 +02:00
Fix a initial time play
This commit is contained in:
parent
de6531cc0f
commit
af0eff0f81
1 changed files with 4 additions and 2 deletions
|
@ -189,8 +189,10 @@ function setPlayerListners() {
|
||||||
isTryingToPlay = false;
|
isTryingToPlay = false;
|
||||||
clearTimeout(promisePlayTimeout);
|
clearTimeout(promisePlayTimeout);
|
||||||
if(startCurrentTime){
|
if(startCurrentTime){
|
||||||
|
setTimeout(function(){
|
||||||
setCurrentTime(startCurrentTime);
|
setCurrentTime(startCurrentTime);
|
||||||
startCurrentTime = 0;
|
startCurrentTime = 0;
|
||||||
|
}, 500);
|
||||||
}
|
}
|
||||||
console.log("setPlayerListners: play");
|
console.log("setPlayerListners: play");
|
||||||
//userIsControling = true;
|
//userIsControling = true;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue