Merge pull request #5826 from maunium/fix-no-thumbnail-video

Add fake fallback thumbnail URL for encrypted videos
pull/21833/head
J. Ryan Stinnett 2021-04-07 12:12:41 +01:00 committed by GitHub
commit 4462ac6203
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -132,7 +132,7 @@ export default class MVideoBody extends React.PureComponent<IProps, IState> {
// enable the play button. Firefox does not seem to care either // enable the play button. Firefox does not seem to care either
// way, so it's fine to do for all browsers. // way, so it's fine to do for all browsers.
decryptedUrl: `data:${content?.info?.mimetype},`, decryptedUrl: `data:${content?.info?.mimetype},`,
decryptedThumbnailUrl: thumbnailUrl, decryptedThumbnailUrl: thumbnailUrl || `data:${content?.info?.mimetype},`,
decryptedBlob: null, decryptedBlob: null,
}); });
} }