mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-04 18:25:22 +03:00
Remove overlay when playing again
This commit is contained in:
parent
614c950e67
commit
2ef1f1d1cd
@ -607,6 +607,9 @@ export default function Events({ path, ...props }) {
|
||||
seekOptions={{ forward: 10, backward: 5 }}
|
||||
onReady={(player) => {
|
||||
this.player = player;
|
||||
this.player.on('playing', () => {
|
||||
setEventOverlay(undefined);
|
||||
});
|
||||
}}
|
||||
onDispose={() => {
|
||||
this.player = null;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user