mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-03-11 21:27:05 +00:00
nextVideo changed to video object
This commit is contained in:
parent
37e9139068
commit
6500ff9149
1 changed files with 4 additions and 4 deletions
|
|
@ -81,12 +81,12 @@ const Player = ({ urlParams }) => {
|
|||
}
|
||||
});
|
||||
}
|
||||
if (player.nextVideoDeepLinks !== null) {
|
||||
if (player.nextVideo !== null) {
|
||||
window.location.replace(
|
||||
typeof player.nextVideoDeepLinks.player === 'string' ?
|
||||
player.nextVideoDeepLinks.player
|
||||
typeof player.nextVideo.deepLinks.player === 'string' ?
|
||||
player.nextVideo.deepLinks.player
|
||||
:
|
||||
player.nextVideoDeepLinks.metaDetailsStreams
|
||||
player.nextVideo.deepLinks.metaDetailsStreams
|
||||
);
|
||||
} else {
|
||||
window.history.back();
|
||||
|
|
|
|||
Loading…
Reference in a new issue