mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-05-13 01:51:28 +00:00
fix(Player): continue watching on load was broken
This commit is contained in:
parent
9b2f23cac6
commit
2112d40f51
1 changed files with 4 additions and 1 deletions
|
|
@ -240,7 +240,10 @@ const Player = ({ urlParams, queryParams }) => {
|
||||||
[]
|
[]
|
||||||
},
|
},
|
||||||
autoplay: true,
|
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
|
player.libraryItem.state.timeOffset
|
||||||
:
|
:
|
||||||
0,
|
0,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue