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');