suppress load video error #1768
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