Skip to content

Commit

Permalink
fix(player): incorrect live stream detection on safari
Browse files Browse the repository at this point in the history
  • Loading branch information
mihar-22 committed Oct 2, 2023
1 parent 611a418 commit 392ec6e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/vidstack/src/providers/html/html–media-events.ts
Original file line number Diff line number Diff line change
Expand Up @@ -251,8 +251,6 @@ export class HTMLMediaEvents {
}

private _onDurationChange(event: Event) {
this._onStreamTypeChange();

if (this._context.$state.ended()) {
this._updateCurrentTime(this._media.duration, event);
}
Expand Down

0 comments on commit 392ec6e

Please sign in to comment.