diff --git a/CHANGELOG.md b/CHANGELOG.md index 0e7dfedd..061b3c2f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # CHANGELOG +## 6.0.5 + +### Fixes + +- Fix poster display after the first playback, `isPaused` is reset on media end ([#144](https://github.com/vlitejs/vlite/pull/144)) + ## 6.0.4 ### Fixes diff --git a/package-lock.json b/package-lock.json index 1b5e4e08..dff54a54 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "vlitejs", - "version": "6.0.4", + "version": "6.0.5", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "vlitejs", - "version": "6.0.4", + "version": "6.0.5", "license": "MIT", "dependencies": { "validate-target": "^3.1.1" diff --git a/package.json b/package.json index f97bfc40..eb566d92 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "vlitejs", - "version": "6.0.4", + "version": "6.0.5", "description": "vLitejs is a fast and lightweight Javascript library for customizing video and audio player in Javascript with a minimalist theme (HTML5, Youtube, Vimeo, Dailymotion)", "keywords": [ "video", diff --git a/src/core/player.ts b/src/core/player.ts index 6d2c8305..6c5a50b5 100644 --- a/src/core/player.ts +++ b/src/core/player.ts @@ -319,6 +319,7 @@ export default class Player { } else { this.elements.outerContainer.classList.replace('v-playing', 'v-paused') this.elements.outerContainer.classList.add('v-firstStart') + this.isPaused = null } if (this.elements.poster) {