Skip to content

Commit

Permalink
Merge pull request #1632 from lbryio/revert-1623-markb_1590_isPlayable
Browse files Browse the repository at this point in the history
Revert "fixed isPlayable to only play for video or audio."
  • Loading branch information
Sean Yesmunt committed Jun 18, 2018
2 parents 36dbf4d + 83694a1 commit 953c8b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/renderer/page/file/view.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 953c8b7

Please sign in to comment.