aboutsummaryrefslogtreecommitdiffstats
path: root/src/js/plyr.js
diff options
context:
space:
mode:
authorSam <me@sampotts.me>2016-05-30 07:41:17 +0100
committerSam <me@sampotts.me>2016-05-30 07:41:17 +0100
commit552f448ccd4634441104dca29c20fa441d644dfc (patch)
treed55ba00b1c37d972914b743833080848342853c5 /src/js/plyr.js
parentcb318dd6add5e8955cb33659aa4da397713ebd3d (diff)
downloadplyr-552f448ccd4634441104dca29c20fa441d644dfc.tar.lz
plyr-552f448ccd4634441104dca29c20fa441d644dfc.tar.xz
plyr-552f448ccd4634441104dca29c20fa441d644dfc.zip
Seek rounding from 1 to 4 decimal places (fixes #242)
Diffstat (limited to 'src/js/plyr.js')
-rw-r--r--src/js/plyr.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/js/plyr.js b/src/js/plyr.js
index 1794afa1..1e5d2156 100644
--- a/src/js/plyr.js
+++ b/src/js/plyr.js
@@ -1,6 +1,6 @@
// ==========================================================================
// Plyr
-// plyr.js v1.6.17
+// plyr.js v1.6.18
// https://github.com/selz/plyr
// License: The MIT License (MIT)
// ==========================================================================
@@ -44,7 +44,7 @@
displayDuration: true,
loadSprite: true,
iconPrefix: 'plyr',
- iconUrl: 'https://cdn.plyr.io/1.6.17/plyr.svg',
+ iconUrl: 'https://cdn.plyr.io/1.6.18/plyr.svg',
clickToPlay: true,
hideControls: true,
showPosterOnEnd: false,
@@ -1890,7 +1890,7 @@
// Set the current time
// Try/catch incase the media isn't set and we're calling seek() from source() and IE moans
try {
- plyr.media.currentTime = targetTime.toFixed(1);
+ plyr.media.currentTime = targetTime.toFixed(4);
}
catch(e) {}