aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/js/plyr.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/js/plyr.js b/src/js/plyr.js
index bd4ec020..3de42f9c 100644
--- a/src/js/plyr.js
+++ b/src/js/plyr.js
@@ -425,7 +425,7 @@ class Plyr {
}
// Set
- this.media.currentTime = targetTime.toFixed(4);
+ this.media.currentTime = parseFloat(targetTime.toFixed(4));
// Logging
this.debug.log(`Seeking to ${this.currentTime} seconds`);