feat: use dash manifest when available

This commit is contained in:
jeidnx
2025-08-04 14:30:37 +02:00
committed by Bnyro
parent 2916ba87c1
commit 1d6f662de3

View File

@@ -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";