From 392ec6e8412b0447d04745387a097ebdab6484d6 Mon Sep 17 00:00:00 2001 From: Rahim Alwer Date: Tue, 3 Oct 2023 01:11:44 +1100 Subject: [PATCH] fix(player): incorrect live stream detection on safari --- .../src/providers/html/html\342\200\223media-events.ts" | 2 -- 1 file changed, 2 deletions(-) diff --git "a/packages/vidstack/src/providers/html/html\342\200\223media-events.ts" "b/packages/vidstack/src/providers/html/html\342\200\223media-events.ts" index 262b55938..4f11bcd77 100644 --- "a/packages/vidstack/src/providers/html/html\342\200\223media-events.ts" +++ "b/packages/vidstack/src/providers/html/html\342\200\223media-events.ts" @@ -251,8 +251,6 @@ export class HTMLMediaEvents { } private _onDurationChange(event: Event) { - this._onStreamTypeChange(); - if (this._context.$state.ended()) { this._updateCurrentTime(this._media.duration, event); }