mirror of
https://github.com/TeamPiped/Piped
synced 2025-09-02 19:41:15 +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");
|
||||
});
|
||||
mime = contentType;
|
||||
} else if (this.video.dash && !this.getPreferenceBoolean("preferHls", false)) {
|
||||
uri = this.video.dash;
|
||||
mime = "application/dash+xml";
|
||||
} else if (this.video.hls) {
|
||||
uri = this.video.hls;
|
||||
mime = "application/x-mpegURL";
|
||||
|
Loading…
x
Reference in New Issue
Block a user