diff --git a/src/ui/component/fileViewer/internal/player.jsx b/src/ui/component/fileViewer/internal/player.jsx index 08c1a4fe5..f31166c63 100644 --- a/src/ui/component/fileViewer/internal/player.jsx +++ b/src/ui/component/fileViewer/internal/player.jsx @@ -256,19 +256,13 @@ class MediaPlayer extends React.PureComponent { // This is what render-media does with unplayable files const { claim, fileName, downloadPath, contentType } = this.props; - console.log('render', contentType, MediaPlayer.SANDBOX_TYPES) - if (MediaPlayer.SANDBOX_TYPES.indexOf(contentType) > -1) { - console.log('claim', claim) const outpoint = `${claim.txid}:${claim.nout}`; - console.log('fetch', `${MediaPlayer.SANDBOX_SET_BASE_URL}${outpoint}`) - return fetch(`${MediaPlayer.SANDBOX_SET_BASE_URL}${outpoint}`) .then(res => res.text()) .then(url => { const fileSource = { url: `${MediaPlayer.SANDBOX_CONTENT_BASE_URL}${url}` }; - console.log('set source', fileSource) return this.setState({ fileSource }); }); } @@ -333,8 +327,6 @@ class MediaPlayer extends React.PureComponent { const isFileType = this.isSupportedFile(); - console.log('isFileType', isFileType); - const isFileReady = fileSource && isFileType; const isPlayableType = this.playableType(); const { isLoading, loadingStatus } = this.showLoadingScreen(isFileType, isPlayableType);