From a316514ca165a06ae3c4d3cf8caaf1a908cbc2db Mon Sep 17 00:00:00 2001 From: Sam Potts Date: Sun, 1 May 2016 13:39:53 +1000 Subject: Minor bug fixes --- src/js/plyr.js | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'src/js/plyr.js') diff --git a/src/js/plyr.js b/src/js/plyr.js index 37c4cf8d..1da3cbdc 100644 --- a/src/js/plyr.js +++ b/src/js/plyr.js @@ -1,6 +1,6 @@ // ========================================================================== // Plyr -// plyr.js v1.6.2 +// plyr.js v1.6.3 // https://github.com/selz/plyr // License: The MIT License (MIT) // ========================================================================== @@ -2765,11 +2765,14 @@ // Reset UI _checkPlaying(); - // Show poster on end - if(config.showPosterOnEnd) { - // Seek to 0 - _seek(0); + // Seek to 0 + _seek(0); + + // Reset duration display + _displayDuration(); + // Show poster on end + if(plyr.type === 'video' && config.showPosterOnEnd) { // Re-load media plyr.media.load(); } -- cgit v1.2.3