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

Commit

Permalink
Disable download option on <video/> due to it being less reliable tha…
Browse files Browse the repository at this point in the history
…n our own Download button
  • Loading branch information
t3chguy committed Apr 25, 2022
1 parent e0076c9 commit a06b623
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/components/views/messages/MVideoBody.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,9 @@ export default class MVideoBody extends React.PureComponent<IBodyProps, IState>
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}
Expand Down

0 comments on commit a06b623

Please sign in to comment.