import React from 'react'; import ProgressBar from 'components/ProgressBar/index'; import { LOCAL_CHECK, UNAVAILABLE, ERROR, AVAILABLE } from 'constants/asset_display_states'; class AssetDisplay extends React.Component { componentDidMount () { this.props.onFileRequest(this.props.claimData.name, this.props.claimData.claimId); } componentWillReceiveProps (nextProps) { // if (nextProps.name !== this.props.name && nextProps.claimId !== this.props.claimId) { // this.props.onCheckServerForFile(nextProps.name, nextProps.claimId); // } } render () { const status = this.props.status; const error = this.props.error; const { name, claimId, contentType, fileExt, thumbnail } = this.props.claimData; return (
Checking to see if Spee.ch has your asset locally...
Sit tight, we're searching the LBRY blockchain for your asset!
Curious what magic is happening here? Learn more.
Unfortunately, we couldn't download your asset from LBRY. You can help us out by sharing the below error message in the LBRY discord.
{error}
Unsupported file type
); } })() }