From 769b3fe98da5114797ae00ba396ccd9d25ccc2ff Mon Sep 17 00:00:00 2001 From: MinamiFunakoshiTR Date: Wed, 6 Aug 2025 10:30:22 -0400 Subject: [PATCH] error log cleanup --- src/components/ScrollerVideo/ts/ScrollerVideo.ts | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/src/components/ScrollerVideo/ts/ScrollerVideo.ts b/src/components/ScrollerVideo/ts/ScrollerVideo.ts index e890422f..d8db3863 100644 --- a/src/components/ScrollerVideo/ts/ScrollerVideo.ts +++ b/src/components/ScrollerVideo/ts/ScrollerVideo.ts @@ -240,24 +240,8 @@ class ScrollerVideo { this.totalTime = 0; // The total time of the video, used for calculating percentage this.transitioningRaf = null; this.componentState = createComponentState(); - this.componentState.willAutoPlay = autoplay; - // Make sure that we have a DOM - if (typeof document !== 'object') { - console.error('ScrollerVideo must be initiated in a DOM context'); - return; - } - - // Make sure the basic arguments are set for scrollervideo - if (!scrollerVideoContainer) { - console.error('scrollerVideoContainer must be a valid DOM object'); - return; - } - if (!src) { - console.error('Must provide valid video src to ScrollerVideo'); - return; - } // Save the container. If the container is a string we get the element