mirror of
https://github.com/TeamPiped/Piped.git
synced 2024-11-22 21:47:25 +00:00
Add support for better qualities through the IOS HLS manifest. (#474)
This commit is contained in:
parent
610fe86c32
commit
881621d3a4
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user