From 43c1fe0f96cc784b035444ab2bd9ddd665d4f4e0 Mon Sep 17 00:00:00 2001 From: Evert Prants Date: Sun, 10 Apr 2022 09:16:30 +0300 Subject: [PATCH] play through hls.js --- src/client/object/other/video-player.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/client/object/other/video-player.ts b/src/client/object/other/video-player.ts index ccd58d7..e069329 100644 --- a/src/client/object/other/video-player.ts +++ b/src/client/object/other/video-player.ts @@ -46,9 +46,7 @@ export class VideoPlayer { } if (source.endsWith('m3u8')) { - if (this.video.canPlayType('application/vnd.apple.mpegurl')) { - // Continue - } else if (Hls.isSupported()) { + if (Hls.isSupported()) { this.hls = new Hls(); this.hls.loadSource(source); this.hls.attachMedia(this.video);