mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-24 09:46:36 +00:00
Use ESM version of hls.js (#16655)
This commit is contained in:
parent
98d22d38c3
commit
38cf774a0d
@ -109,8 +109,7 @@ class HaHLSPlayer extends LitElement {
|
||||
private async _startHls(): Promise<void> {
|
||||
const masterPlaylistPromise = fetch(this.url);
|
||||
|
||||
const Hls: typeof HlsType = (await import("hls.js/dist/hls.light.min"))
|
||||
.default;
|
||||
const Hls: typeof HlsType = (await import("hls.js/dist/hls.light")).default;
|
||||
|
||||
if (!this.isConnected) {
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user