mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-03-11 17:15:48 +00:00
test: again
This commit is contained in:
parent
d6372c4f86
commit
ce0c5da3fd
1 changed files with 0 additions and 3 deletions
|
|
@ -84,8 +84,6 @@ const Player = ({ urlParams, queryParams }) => {
|
|||
}, [immersed, casting, video.state.paused, menusOpen, nextVideoPopupOpen]);
|
||||
|
||||
const nextVideoPopupDismissed = React.useRef(false);
|
||||
const nextVideoInitialData = React.useRef(player.nextVideo);
|
||||
nextVideoInitialData.current = player.nextVideo;
|
||||
const defaultSubtitlesSelected = React.useRef(false);
|
||||
const defaultAudioTrackSelected = React.useRef(false);
|
||||
const [error, setError] = React.useState(null);
|
||||
|
|
@ -104,7 +102,6 @@ const Player = ({ urlParams, queryParams }) => {
|
|||
}, [settings.subtitlesSize, settings.subtitlesOffset, settings.subtitlesTextColor, settings.subtitlesBackgroundColor, settings.subtitlesOutlineColor]);
|
||||
|
||||
const onEnded = React.useCallback(() => {
|
||||
player.nextVideo = nextVideoInitialData.current;
|
||||
ended();
|
||||
if (player.nextVideo !== null) {
|
||||
onNextVideoRequested();
|
||||
|
|
|
|||
Loading…
Reference in a new issue