Remove overlay when playing again

This commit is contained in:
Nick Mowen 2023-04-21 10:25:44 -06:00
parent 614c950e67
commit 2ef1f1d1cd

View File

@ -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;