From a1fafd11ea59fb8becdab39b7ef388dea917039b Mon Sep 17 00:00:00 2001 From: FireMasterK <20838718+FireMasterK@users.noreply.github.com> Date: Thu, 23 Sep 2021 11:42:35 +0100 Subject: [PATCH] Add support for better qualities through the IOS HLS manifest. --- src/components/Player.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/components/Player.vue b/src/components/Player.vue index e32dc628..704cfc2c 100644 --- a/src/components/Player.vue +++ b/src/components/Player.vue @@ -195,6 +195,9 @@ export default { method: "HEAD", }).then(response => response.headers.get("Content-Type")); mime = contentType; + } else if (this.video.hls) { + uri = this.video.hls; + mime = "application/x-mpegURL"; } else { uri = this.video.videoStreams.filter(stream => stream.codec == null).slice(-1)[0].url; mime = "video/mp4";