Skip to content

Commit 83cbeec

Browse files
authored
fix: remove vjs-seeking on src change (#3846)
If you're in a seeking state and the source changed, we should no longer be in a seeking state. Fixes #3765.
1 parent 7985c63 commit 83cbeec

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/js/player.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1077,6 +1077,7 @@ class Player extends Component {
10771077
// TODO: Update to use `emptied` event instead. See #1277.
10781078

10791079
this.removeClass('vjs-ended');
1080+
this.removeClass('vjs-seeking');
10801081

10811082
// reset the error state
10821083
this.error(null);

0 commit comments

Comments
 (0)