mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Merge pull request #1810 from iwalton3/currenttime-is-ms
Change all instances of currentTime to be in ms.
This commit is contained in:
commit
d0cd58e9cf
8 changed files with 12 additions and 20 deletions
|
@ -950,12 +950,12 @@ class ChromecastPlayer {
|
|||
|
||||
currentTime(val) {
|
||||
if (val != null) {
|
||||
return this.seek(val);
|
||||
return this.seek(val * 10000);
|
||||
}
|
||||
|
||||
let state = this.lastPlayerData || {};
|
||||
state = state.PlayState || {};
|
||||
return state.PositionTicks;
|
||||
return state.PositionTicks / 10000;
|
||||
}
|
||||
|
||||
duration() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue