Update inject.js
This commit is contained in:
parent
82cabf7fc0
commit
50ea8955d6
@ -195,7 +195,7 @@ const introSkipper = {
|
|||||||
videoPositionChanged() {
|
videoPositionChanged() {
|
||||||
if (!this.skipButton) return;
|
if (!this.skipButton) return;
|
||||||
const embyButton = this.skipButton.querySelector(".emby-button");
|
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 (segmentType === "None") {
|
||||||
if (!this.skipButton.classList.contains('show')) return;
|
if (!this.skipButton.classList.contains('show')) return;
|
||||||
this.skipButton.classList.remove('show');
|
this.skipButton.classList.remove('show');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user