mirror of https://github.com/vector-im/riot-web
Merge pull request #5826 from maunium/fix-no-thumbnail-video
Add fake fallback thumbnail URL for encrypted videospull/21833/head
commit
4462ac6203
|
@ -132,7 +132,7 @@ export default class MVideoBody extends React.PureComponent<IProps, IState> {
|
|||
// enable the play button. Firefox does not seem to care either
|
||||
// way, so it's fine to do for all browsers.
|
||||
decryptedUrl: `data:${content?.info?.mimetype},`,
|
||||
decryptedThumbnailUrl: thumbnailUrl,
|
||||
decryptedThumbnailUrl: thumbnailUrl || `data:${content?.info?.mimetype},`,
|
||||
decryptedBlob: null,
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue