From 905ad6676a9ce0eaddd79b23de7323f648fb075d Mon Sep 17 00:00:00 2001 From: Kavin <20838718+FireMasterK@users.noreply.github.com> Date: Fri, 2 Dec 2022 21:11:22 +0000 Subject: [PATCH] Disable internal DASH manifest rewriting due to issues with shaka. Closes #1805 --- src/components/VideoPlayer.vue | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/components/VideoPlayer.vue b/src/components/VideoPlayer.vue index 57b5ede1..941d4501 100644 --- a/src/components/VideoPlayer.vue +++ b/src/components/VideoPlayer.vue @@ -273,7 +273,11 @@ export default { ).generate_dash_file_from_formats(streams, this.video.duration); uri = "data:application/dash+xml;charset=utf-8;base64," + btoa(dash); - } else uri = this.video.dash; + } else { + const url = new URL(this.video.dash); + url.searchParams.set("rewrite", false); + uri = url.toString(); + } mime = "application/dash+xml"; } else if (lbry) { uri = lbry.url;