mirror of
https://github.com/stashapp/stash.git
synced 2026-01-30 20:13:58 +01:00
Fix transcoded video player position (#272)
* Fix transcoded video player position * Abbreviate change
This commit is contained in:
parent
043745a84f
commit
ea995dc374
1 changed files with 2 additions and 1 deletions
|
|
@ -135,7 +135,8 @@ export class ScenePlayerImpl extends React.Component<IScenePlayerProps, IScenePl
|
|||
};
|
||||
|
||||
getCurrentTimeHook = (_videoTag: any) => {
|
||||
return _videoTag.currentTime + _videoTag.start;
|
||||
let start = _videoTag.start || 0;
|
||||
return _videoTag.currentTime + start;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue