mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-04 10:19:24 +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;
|
||||
clearTimeout(promisePlayTimeout);
|
||||
if(startCurrentTime){
|
||||
setCurrentTime(startCurrentTime);
|
||||
startCurrentTime = 0;
|
||||
setTimeout(function(){
|
||||
setCurrentTime(startCurrentTime);
|
||||
startCurrentTime = 0;
|
||||
}, 500);
|
||||
}
|
||||
console.log("setPlayerListners: play");
|
||||
//userIsControling = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue