Merge pull request #1632 from lbryio/revert-1623-markb_1590_isPlayable
Revert "fixed isPlayable to only play for video or audio."
This commit is contained in:
commit
953c8b70a6
1 changed files with 1 additions and 1 deletions
|
@ -116,7 +116,7 @@ class FilePage extends React.Component<Props> {
|
|||
const shouldObscureThumbnail = obscureNsfw && metadata.nsfw;
|
||||
const { height, channel_name: channelName, value } = claim;
|
||||
const mediaType = Lbry.getMediaType(contentType);
|
||||
const isPlayable = mediaType === 'video' || mediaType === 'audio';
|
||||
const isPlayable = Object.values(player.mime).includes(contentType) || mediaType === 'audio';
|
||||
const channelClaimId =
|
||||
value && value.publisherSignature && value.publisherSignature.certificateId;
|
||||
let subscriptionUri;
|
||||
|
|
Loading…
Reference in a new issue