mirror of
https://github.com/TeamPiped/Piped
synced 2025-09-03 20:11:21 +02:00
feat: use dash manifest when available
This commit is contained in:
parent
2916ba87c1
commit
1d6f662de3
@ -377,6 +377,9 @@ export default {
|
|||||||
return response.headers.get("Content-Type");
|
return response.headers.get("Content-Type");
|
||||||
});
|
});
|
||||||
mime = contentType;
|
mime = contentType;
|
||||||
|
} else if (this.video.dash && !this.getPreferenceBoolean("preferHls", false)) {
|
||||||
|
uri = this.video.dash;
|
||||||
|
mime = "application/dash+xml";
|
||||||
} else if (this.video.hls) {
|
} else if (this.video.hls) {
|
||||||
uri = this.video.hls;
|
uri = this.video.hls;
|
||||||
mime = "application/x-mpegURL";
|
mime = "application/x-mpegURL";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user