mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-03-11 21:27:05 +00:00
Merge pull request #319 from Stremio/fix/player-continue-watching
fix(Player): continue watching on load was broken
This commit is contained in:
commit
51a96311be
1 changed files with 4 additions and 1 deletions
|
|
@ -240,7 +240,10 @@ const Player = ({ urlParams, queryParams }) => {
|
|||
[]
|
||||
},
|
||||
autoplay: true,
|
||||
time: player.libraryItem !== null && player.selected.streamRequest !== null && player.libraryItem.state.video_id === player.selected.streamRequest.id ?
|
||||
time: player.libraryItem !== null &&
|
||||
player.selected.streamRequest !== null &&
|
||||
player.selected.streamRequest.path !== null &&
|
||||
player.libraryItem.state.video_id === player.selected.streamRequest.path.id ?
|
||||
player.libraryItem.state.timeOffset
|
||||
:
|
||||
0,
|
||||
|
|
|
|||
Loading…
Reference in a new issue