mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-08-16 19:53:38 +00:00
no need to reset state when error is thrown by the video
This commit is contained in:
parent
da3301da96
commit
dd82d462ef
1 changed files with 0 additions and 6 deletions
|
|
@ -45,12 +45,6 @@ class Player extends Component {
|
|||
onError = (error) => {
|
||||
if (error.critical) {
|
||||
this.stop();
|
||||
this.setState({
|
||||
paused: null,
|
||||
time: null,
|
||||
duration: null,
|
||||
volume: null
|
||||
});
|
||||
}
|
||||
|
||||
alert(error.message);
|
||||
|
|
|
|||
Loading…
Reference in a new issue