Add optional chain to mpvPlayer to fix web
This commit is contained in:
parent
fe14ca25c6
commit
c483cdb871
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ export const App = () => {
|
||||||
volume: usePlayerStore.getState().volume,
|
volume: usePlayerStore.getState().volume,
|
||||||
};
|
};
|
||||||
|
|
||||||
mpvPlayer.restart({
|
mpvPlayer?.restart({
|
||||||
extraParameters,
|
extraParameters,
|
||||||
properties,
|
properties,
|
||||||
});
|
});
|
||||||
|
|
Reference in a new issue