mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-01-11 22:40:31 +00:00
Merge branch 'Stremio:development' into development
This commit is contained in:
commit
80f25b8d45
1 changed files with 4 additions and 4 deletions
|
|
@ -102,8 +102,8 @@ const usePlayer = (urlParams) => {
|
|||
args: {
|
||||
action: 'TimeChanged',
|
||||
args: {
|
||||
time: Math.round(time),
|
||||
duration,
|
||||
time: Math.max(0, Math.round(time)),
|
||||
duration: Math.max(0, Math.round(duration)),
|
||||
device,
|
||||
}
|
||||
}
|
||||
|
|
@ -118,8 +118,8 @@ const usePlayer = (urlParams) => {
|
|||
args: {
|
||||
action: 'Seek',
|
||||
args: {
|
||||
time: Math.round(time),
|
||||
duration,
|
||||
time: Math.max(0, Math.round(time)),
|
||||
duration: Math.max(0, Math.round(duration)),
|
||||
device,
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue