mirror of
https://github.com/TeamPiped/Piped.git
synced 2025-08-09 20:24:09 +00:00
feat: use dash manifest when available
This commit is contained in:
@@ -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";
|
||||||
|
Reference in New Issue
Block a user