1
0
mirror of https://github.com/videojs/video.js.git synced 2025-03-17 21:18:27 +02:00

fix(player): remove vjs-ended class on seeked (#5728)

Whenever we seek after the video has ended, we are no longer ended and
therefore we should remove the vjs-ended class.

Fixes #5654.
This commit is contained in:
Gary Katsevman 2019-01-08 11:28:44 -05:00 committed by GitHub
parent 2f00a68a51
commit 544ed9df34
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1723,6 +1723,7 @@ class Player extends Component {
*/
handleTechSeeked_() {
this.removeClass('vjs-seeking');
this.removeClass('vjs-ended');
/**
* Fired when the player has finished jumping to a new time
*