parent
c25ee25482
commit
45ca07115b
1 changed files with 2 additions and 0 deletions
|
@ -295,6 +295,7 @@ export function doLoadVideo(uri) {
|
|||
streamInfo.error == "Timeout";
|
||||
|
||||
if (timeout) {
|
||||
dispatch(doSetPlayingUri(null));
|
||||
dispatch({
|
||||
type: types.LOADING_VIDEO_FAILED,
|
||||
data: { uri },
|
||||
|
@ -306,6 +307,7 @@ export function doLoadVideo(uri) {
|
|||
}
|
||||
})
|
||||
.catch(error => {
|
||||
dispatch(doSetPlayingUri(null));
|
||||
dispatch({
|
||||
type: types.LOADING_VIDEO_FAILED,
|
||||
data: { uri },
|
||||
|
|
Loading…
Add table
Reference in a new issue