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 2bc90a1 commit f1637cd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/js/player.js
Expand Up @@ -1728,6 +1728,7 @@ class Player extends Component {
*/ */
handleTechSeeked_() { handleTechSeeked_() {
this.removeClass('vjs-seeking'); this.removeClass('vjs-seeking');
this.removeClass('vjs-ended');
/** /**
* Fired when the player has finished jumping to a new time * Fired when the player has finished jumping to a new time
* *
Expand Down

0 comments on commit f1637cd

Please sign in to comment.