aboutsummaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorRblSb <msrblsb@gmail.com>2020-05-28 22:59:18 +0300
committerRblSb <msrblsb@gmail.com>2020-05-28 22:59:18 +0300
commit4d7e534a5c64915590f924e6f7420afbfee4bf17 (patch)
tree73861dc2b580f1bad01989a0b69b17d95eec5d29 /res
parentee074d9e901e416e44490af3b43a171727d53728 (diff)
Better video restart fix
Diffstat (limited to 'res')
-rw-r--r--res/client.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/res/client.js b/res/client.js
index fb8e7c9..ad8506c 100644
--- a/res/client.js
+++ b/res/client.js
@@ -1192,7 +1192,7 @@ client_Main.prototype = {
if(this.player.isVideoLoaded()) {
this.forceSyncNextTick = false;
}
- if(this.player.getDuration() <= this.player.getTime()) {
+ if(this.player.getDuration() <= this.player.getTime() + synchThreshold) {
return;
}
if(!data.getTime.paused) {
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage