Minor bug fixes

This commit is contained in:
Sam Potts
2016-05-01 13:39:53 +10:00
parent 3b69f47590
commit a316514ca1
5 changed files with 27 additions and 13 deletions

View File

@ -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();
}