Skip to content

Commit

Permalink
Clear active segment id during reset everything
Browse files Browse the repository at this point in the history
  • Loading branch information
Dzianis Dashkevich committed Feb 26, 2023
1 parent ab81756 commit 96ef745
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/segment-loader.js
Original file line number Diff line number Diff line change
Expand Up @@ -1163,6 +1163,7 @@ export default class SegmentLoader extends videojs.EventTarget {
*/
resetEverything(done) {
this.ended_ = false;
this.activeInitSegmentId_ = null;
this.appendInitSegment_ = {
audio: true,
video: true
Expand Down

0 comments on commit 96ef745

Please sign in to comment.