mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-05 02:35: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 }}
|
seekOptions={{ forward: 10, backward: 5 }}
|
||||||
onReady={(player) => {
|
onReady={(player) => {
|
||||||
this.player = player;
|
this.player = player;
|
||||||
|
this.player.on('playing', () => {
|
||||||
|
setEventOverlay(undefined);
|
||||||
|
});
|
||||||
}}
|
}}
|
||||||
onDispose={() => {
|
onDispose={() => {
|
||||||
this.player = null;
|
this.player = null;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user