From 35db581c2674a6331ff76af0230377c528b2f069 Mon Sep 17 00:00:00 2001 From: Varun Patil Date: Tue, 24 Oct 2023 19:13:34 -0700 Subject: [PATCH] video: reduce some useless timers Signed-off-by: Varun Patil --- src/components/viewer/PsVideo.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/viewer/PsVideo.ts b/src/components/viewer/PsVideo.ts index 4839bac3..a3c25abd 100644 --- a/src/components/viewer/PsVideo.ts +++ b/src/components/viewer/PsVideo.ts @@ -244,7 +244,7 @@ class VideoContentSetup { } // Fallback - window.setTimeout(() => this.initPlyr(content), 0); + utils.setRenewingTimeout(this, 'plyrinit', () => this.initPlyr(content), 0); }); }