Skip to content

Commit

Permalink
fix(player): remove vjs-ended class on seeked (#5728)
Browse files Browse the repository at this point in the history
Whenever we seek after the video has ended, we are no longer ended and
therefore we should remove the vjs-ended class.

Fixes #5654.
  • Loading branch information
gkatsev committed Jan 8, 2019
1 parent 2f00a68 commit 544ed9d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/js/player.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
*
Expand Down

0 comments on commit 544ed9d

Please sign in to comment.