mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-03-11 21:27:05 +00:00
go back from player when video end
This commit is contained in:
parent
5016788262
commit
ea44bd6726
1 changed files with 1 additions and 0 deletions
|
|
@ -77,6 +77,7 @@ const Player = ({ urlParams }) => {
|
|||
if (player.next_video !== null) {
|
||||
// TODO go to next video
|
||||
}
|
||||
window.history.back();
|
||||
}, [player.next_video, player.lib_item]);
|
||||
const onError = React.useCallback((error) => {
|
||||
if (error.critical) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue