mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-03-04 06:33:45 +00:00
Fix seeking
This commit is contained in:
parent
842cba4245
commit
736a739723
@ -230,7 +230,7 @@ export default function HlsVideoPlayer({
|
||||
hotKeys={hotKeys}
|
||||
onPlayPause={onPlayPause}
|
||||
onSeek={(diff) => {
|
||||
const currentTime = getVideoTime();
|
||||
const currentTime = videoRef.current?.currentTime;
|
||||
|
||||
if (!videoRef.current || !currentTime) {
|
||||
return;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user