From a06b623db3ccf8e2ddc9e4bfc3cc29672d1fcf70 Mon Sep 17 00:00:00 2001
From: Michael Telatynski <7t3chguy@gmail.com>
Date: Mon, 25 Apr 2022 12:10:47 +0100
Subject: [PATCH] Disable download option on due to it being less
reliable than our own Download button
---
src/components/views/messages/MVideoBody.tsx | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/components/views/messages/MVideoBody.tsx b/src/components/views/messages/MVideoBody.tsx
index f4733df19f3..1ac389a6bc1 100644
--- a/src/components/views/messages/MVideoBody.tsx
+++ b/src/components/views/messages/MVideoBody.tsx
@@ -281,6 +281,9 @@ export default class MVideoBody extends React.PureComponent
src={contentUrl}
title={content.body}
controls
+ // Disable downloading as it doesn't work with e2ee video,
+ // users should use the dedicated Download button in the Message Action Bar
+ controlsList="nodownload"
preload={preload}
muted={autoplay}
autoPlay={autoplay}