mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Change all instances of currentTime to be in ms.
This commit is contained in:
parent
134b6b7c3c
commit
9b1ed7ce4f
8 changed files with 12 additions and 20 deletions
|
@ -324,12 +324,12 @@ define(['playbackManager', 'events', 'serverNotifications', 'connectionManager']
|
|||
|
||||
SessionPlayer.prototype.currentTime = function (val) {
|
||||
if (val != null) {
|
||||
return this.seek(val);
|
||||
return this.seek(val * 10000);
|
||||
}
|
||||
|
||||
var state = this.lastPlayerData || {};
|
||||
state = state.PlayState || {};
|
||||
return state.PositionTicks;
|
||||
return state.PositionTicks / 10000;
|
||||
};
|
||||
|
||||
SessionPlayer.prototype.duration = function () {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue