diff options
Diffstat (limited to 'src/content.ts')
-rw-r--r-- | src/content.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/content.ts b/src/content.ts index 91cb4f37..f4156d83 100644 --- a/src/content.ts +++ b/src/content.ts @@ -992,11 +992,11 @@ function getStartTimes(sponsorTimes: SponsorTime[], includeIntersectingSegments: * * @param time */ -function previewTime(time: number) { +function previewTime(time: number, unpause = true) { video.currentTime = time; // Unpause the video if needed - if (video.paused){ + if (unpause && video.paused){ video.play(); } } |