From 50ea8955d6d37f20c6366760bc5ccfccf19af293 Mon Sep 17 00:00:00 2001 From: rlauuzo <46294892+rlauuzo@users.noreply.github.com> Date: Fri, 2 Aug 2024 10:36:56 +0200 Subject: [PATCH] Update inject.js --- ConfusedPolarBear.Plugin.IntroSkipper/Configuration/inject.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ConfusedPolarBear.Plugin.IntroSkipper/Configuration/inject.js b/ConfusedPolarBear.Plugin.IntroSkipper/Configuration/inject.js index b7c2e08..1e802ae 100644 --- a/ConfusedPolarBear.Plugin.IntroSkipper/Configuration/inject.js +++ b/ConfusedPolarBear.Plugin.IntroSkipper/Configuration/inject.js @@ -195,7 +195,7 @@ const introSkipper = { videoPositionChanged() { if (!this.skipButton) return; const embyButton = this.skipButton.querySelector(".emby-button"); - const segmentType = introSkipper.getCurrentSegment(this.videoPlayer.currentTime).SegmentType; + const segmentType = this.getCurrentSegment(this.videoPlayer.currentTime).SegmentType; if (segmentType === "None") { if (!this.skipButton.classList.contains('show')) return; this.skipButton.classList.remove('show');