mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-04-21 07:32:02 +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) {
|
if (player.next_video !== null) {
|
||||||
// TODO go to next video
|
// TODO go to next video
|
||||||
}
|
}
|
||||||
|
window.history.back();
|
||||||
}, [player.next_video, player.lib_item]);
|
}, [player.next_video, player.lib_item]);
|
||||||
const onError = React.useCallback((error) => {
|
const onError = React.useCallback((error) => {
|
||||||
if (error.critical) {
|
if (error.critical) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue