display download error only when that uri is playing
This commit is contained in:
parent
d43dd78821
commit
17ca490db4
1 changed files with 1 additions and 1 deletions
|
@ -274,7 +274,7 @@ function handleLoadVideoError(uri, errorType = '') {
|
|||
return (dispatch, getState) => {
|
||||
// suppress error when another media is playing
|
||||
const { playingUri } = getState().content;
|
||||
if (!playingUri || playingUri === uri) {
|
||||
if (playingUri && playingUri === uri) {
|
||||
dispatch({
|
||||
type: ACTIONS.LOADING_VIDEO_FAILED,
|
||||
data: { uri },
|
||||
|
|
Loading…
Reference in a new issue