diff --git a/ui/component/fileRenderInline/index.js b/ui/component/fileRenderInline/index.js index 326144329..d13633233 100644 --- a/ui/component/fileRenderInline/index.js +++ b/ui/component/fileRenderInline/index.js @@ -1,14 +1,14 @@ import { connect } from 'react-redux'; import { makeSelectFileInfoForUri, makeSelectStreamingUrlForUri } from 'lbry-redux'; import { doClaimEligiblePurchaseRewards } from 'redux/actions/rewards'; -import { makeSelectFileRenderModeForUri, selectPrimaryUri } from 'redux/selectors/content'; +import { makeSelectFileRenderModeForUri, makeSelectIsPlaying } from 'redux/selectors/content'; import { withRouter } from 'react-router'; import { doAnalyticsView } from 'redux/actions/app'; import FileRenderInline from './view'; const select = (state, props) => ({ fileInfo: makeSelectFileInfoForUri(props.uri)(state), - isPlaying: selectPrimaryUri(state) === props.uri, + isPlaying: makeSelectIsPlaying(props.uri)(state), streamingUrl: makeSelectStreamingUrlForUri(props.uri)(state), renderMode: makeSelectFileRenderModeForUri(props.uri)(state), });