Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit a06b623

Browse files
committed
Disable download option on <video/> due to it being less reliable than our own Download button
1 parent e0076c9 commit a06b623

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/components/views/messages/MVideoBody.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -281,6 +281,9 @@ export default class MVideoBody extends React.PureComponent<IBodyProps, IState>
281281
src={contentUrl}
282282
title={content.body}
283283
controls
284+
// Disable downloading as it doesn't work with e2ee video,
285+
// users should use the dedicated Download button in the Message Action Bar
286+
controlsList="nodownload"
284287
preload={preload}
285288
muted={autoplay}
286289
autoPlay={autoplay}

0 commit comments

Comments
 (0)