diff --git a/src/content.ts b/src/content.ts index b2a02012..5124030d 100644 --- a/src/content.ts +++ b/src/content.ts @@ -589,6 +589,8 @@ async function sponsorsLookup(id: string) { } }); video.addEventListener('ratechange', () => startSponsorSchedule()); + // Used by videospeed extension (https://github.com/igrigorik/videospeed/pull/740) + video.addEventListener('videoSpeed_ratechange', () => startSponsorSchedule()); video.addEventListener('pause', () => { // Reset lastCheckVideoTime lastCheckVideoTime = -1;