Skip to content

Commit

Permalink
fix: remove vjs-seeking on src change (#3846)
Browse files Browse the repository at this point in the history
If you're in a seeking state and the source changed, we should no longer
be in a seeking state.

Fixes #3765.
  • Loading branch information
gkatsev committed Dec 14, 2016
1 parent 7985c63 commit 83cbeec
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 @@ -1077,6 +1077,7 @@ class Player extends Component {
// TODO: Update to use `emptied` event instead. See #1277.

this.removeClass('vjs-ended');
this.removeClass('vjs-seeking');

// reset the error state
this.error(null);
Expand Down

0 comments on commit 83cbeec

Please sign in to comment.