Disable download option on <video/> , preferring dedicated download button (#8403)

t3chguy/dedup-icons-17oct
Michael Telatynski 2022-04-25 13:33:49 +01:00 committed by GitHub
parent 6bfe0436e5
commit a3f9123f6c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -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}