From c259245e767b74abd526c754cb8221169ab50cbc Mon Sep 17 00:00:00 2001 From: FireMasterK <20838718+FireMasterK@users.noreply.github.com> Date: Tue, 17 Nov 2020 11:16:24 +0530 Subject: [PATCH] Fix delay instead of increasing it. --- src/components/WatchVideo.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/WatchVideo.vue b/src/components/WatchVideo.vue index 1c551cb1..25dff61b 100644 --- a/src/components/WatchVideo.vue +++ b/src/components/WatchVideo.vue @@ -211,7 +211,9 @@ export default { if (Math.abs(delay) > 0.1) { this.audioplayer.currentTime = - this.player.currentTime() - delay; + delay > 0.2 + ? this.player.currentTime() + : this.player.currentTime() + delay; } } });