From 83694a1c2b76c68bf36085390ebbbd88f5c8812e Mon Sep 17 00:00:00 2001 From: Sean Yesmunt Date: Mon, 18 Jun 2018 12:39:33 -0400 Subject: [PATCH] Revert "fixed isPlayable to only play for video or audio." --- src/renderer/page/file/view.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/renderer/page/file/view.jsx b/src/renderer/page/file/view.jsx index 6f5a1af77..b47ad5879 100644 --- a/src/renderer/page/file/view.jsx +++ b/src/renderer/page/file/view.jsx @@ -116,7 +116,7 @@ class FilePage extends React.Component { 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;