mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-08 12:15:25 +03:00
Fix race condition
This commit is contained in:
parent
162ac4361f
commit
f01d3f03df
@ -241,6 +241,7 @@ function PreviewContent({
|
||||
0,
|
||||
review.start_time - relevantPreview.start - 8
|
||||
);
|
||||
player.currentTime(playerStartTime);
|
||||
|
||||
if (isSafari) {
|
||||
player.pause();
|
||||
@ -249,8 +250,6 @@ function PreviewContent({
|
||||
player.playbackRate(8);
|
||||
}
|
||||
|
||||
player.currentTime(playerStartTime);
|
||||
|
||||
let lastPercent = 0;
|
||||
player.on("timeupdate", () => {
|
||||
if (!setProgress) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user