From a3f9123f6c3f5f67427d7389bb298ebcbc46e7ae Mon Sep 17 00:00:00 2001
From: Michael Telatynski <7t3chguy@gmail.com>
Date: Mon, 25 Apr 2022 13:33:49 +0100
Subject: [PATCH] Disable download option on , preferring dedicated
download button (#8403)
---
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 f4733df19f..1ac389a6bc 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}