SponsorBlock icon indicating copy to clipboard operation
SponsorBlock copied to clipboard

Linux-Brave: Auto skip fails when autoplay is disabled.

Open kuraiookami opened this issue 1 year ago • 6 comments

I have been using Brave and SponsorBlock together for a while now and until "recently", about a month or so, SponsorBlock has stopped auto-skipping segments completely (it still showed the segments in the seek-bar). I tried resetting the configs, reinstalling the plugin, reinstalling Brave (I forgot to delete the profile now that i think about it) but nothing seamed to fix the issue. Today I tried re-enabling auto-play on a whim and SponsorBlock started working again. I toggled the setting on and off multiple times and can confirm that this is the root cause of the problem. I prefer disabling auto-play to to stop "channel trailers" and other annoying content from auto-playing but this setting breaks things and I don't understand why.

OS: Ubuntu Browser: Brave 1.67.123 Extensions: SponsorBlock 5.7 All others have been disabled since I became aware of this bug

kuraiookami avatar Jul 17 '24 06:07 kuraiookami

Works fine on my end with Brave on Linux

ajayyy avatar Jul 17 '24 17:07 ajayyy

Is there any data I can provide because I can trigger and fix this bug by only changing one setting?

kuraiookami avatar Jul 18 '24 01:07 kuraiookami

I could see the same behavior today with Brave Beta (Version 1.69.122 Chromium: 127.0.6533.57) on Windows on https://www.youtube.com/watch?v=nXRxWm9y3QQ With autoplay blocked (The browser option to prevent starting videos automatically) for youtube.com the segments were not skipped or even recognized (no on screen popups)

raphpa avatar Jul 25 '24 04:07 raphpa

Same here with Brave Version 1.68.128. I can see the chapters and the color codes, but the video just keeps playing.

uncleanblessing avatar Jul 27 '24 05:07 uncleanblessing

Same here.

OS: Windows 11 Home 23H2
Browser: Brave Version 1.69.138 Chromium: 127.0.6533.100 (Official Build) beta (64-bit)
SponsorBlock Version: 5.7

Here are some errors that the console gave me:

Error: Extension context invalidated.
    at p.getTitleText (content.js:2:179204)
    at p.render (content.js:2:176456)
    at Na (content.js:2:77467)
    at Ia (content.js:2:77265)
    at Tl (content.js:2:120727)
    at bu (content.js:2:108760)
    at vu (content.js:2:108688)
    at gu (content.js:2:108551)
    at ru (content.js:2:105358)
    at iu (content.js:2:103913)
pa @ content.js:2

content.js:2 Uncaught Error: Extension context invalidated.
    at p.getTitleText (content.js:2:179204)
    at p.render (content.js:2:176456)
    at Na (content.js:2:77467)
    at Ia (content.js:2:77265)
    at Tl (content.js:2:120727)
    at bu (content.js:2:108760)
    at vu (content.js:2:108688)
    at gu (content.js:2:108551)
    at ru (content.js:2:105358)
    at iu (content.js:2:103913)
content.js:2 Uncaught (in promise) Error: Extension context invalidated.
    at Object.videoIDChange (content.js:2:240486)
    at content.js:2:167101
    at Generator.next (<anonymous>)
    at s (content.js:2:164973)

content.js:2 Uncaught (in promise) TypeError: Cannot read properties of null (reading 'addEventListener')
    at content.js:2:241112
    at content.js:2:243517

DerEingerostete avatar Aug 12 '24 19:08 DerEingerostete

Extension context invalidated.

This would imply an extension update just happened which can cause issues until the page reloads

ajayyy avatar Sep 23 '24 08:09 ajayyy