diff --git a/src/components/ha-hls-player.ts b/src/components/ha-hls-player.ts index 3943abb615..cf3ed5a526 100644 --- a/src/components/ha-hls-player.ts +++ b/src/components/ha-hls-player.ts @@ -109,7 +109,8 @@ class HaHLSPlayer extends LitElement { private async _startHls(): Promise { const masterPlaylistPromise = fetch(this.url); - const Hls: typeof HlsType = (await import("hls.js/dist/hls.light")).default; + const Hls: typeof HlsType = (await import("hls.js/dist/hls.light.mjs")) + .default; if (!this.isConnected) { return;