code-charity / youtube

[top~1 open YouTube & Video web-extension] Enrich your experience & choice! 🧰180+ options & clever features📌set+forget📌Longest-standing(been tough). Please join🧩us👨‍👩‍👧‍👧 ..⋮ {playback|content discovery|player|extra buttons|distractions|related videos|shorts|ads|quality|codec|full tab|full screen}
http://improvedtube.com
Other
3.4k stars 512 forks source link

autoplay problem #2042

Open nairblyL opened 6 months ago

nairblyL commented 6 months ago

Bug Report:

BUG: Videos auto play even when the option is turned off if the window is in focus. ⚬ HOW: Open a video in the current window or refresh a tab with a paused video. Expected behaviour: The video auto pauses. Actual behaviour: The video auto plays.

⚬ If a YouTube change started the bug, please copy the DOM you get (especially if the bug doesn't happen when you log out or on another computer) ⚬ Or did our last update start the bug? ⚬ ImprovedTube Version: 4.700

1. Thanks for coming & caring! Before submitting, please check if the issue has already been reported ever. With GitHub's issue search (use this link) (else removing "is:issue is:open" from the standard search) ( - If it was posted before, you can answer/react there to give it your voice and move it up in the lists) ( - If the status is "closed" (=fixed) recently, then Web Stores can be updated soon - if it was closed month or years ago, then it might reappeared & must be fixed again.)

2. To give us a chance to solve the bug: Can you ...?:

⚬ Browser: Chrome 121.0.6167.185
⚬ Settings:

⚬ OS: Win10 ⚬ Device:

ImprovedTube commented 6 months ago

hi @nairblyL since when?

nairblyL commented 6 months ago

hi @nairblyL since when?

As far as I can tell since the fix for the looping issue.

raszpl commented 6 months ago

since ~couple of weeks. Its really weird. If I open YT video in new window by pasting url manually Autoplay=off works If I now refresh thit page Autoplay=off still works If I open another YT clip in the background from YT page it will not play until switching focus to that Tab. after switching focus it autoplays ignoring Autoplay=off If I now refresh this tab it still autoplays. Gets better - if I open devtools on this broken Tab it magically starts working after refresh

sure enough https://github.com/code-charity/youtube/blob/b412f2dde393dc18e9a3e415ef1e74815ba14984/js%26css/web-accessible/www.youtube.com/player.js#L18 I can see multiple "autoplay:off - should we pause here again?" in console log, this is to blame. This broke it https://github.com/code-charity/youtube/commit/dc00a7e92701c83e2722c2346275a3380cc61d11 "fixes & tidy" is not a great commit message to put it mildly :) cant see what issue this is supposed to fix

redcat42 commented 5 months ago

broken on latest firefox release as well

raszpl commented 5 months ago

and its broken completely now after reverse to broken version https://github.com/code-charity/youtube/issues/2105#issuecomment-2003966180

raszpl commented 5 months ago

@ImprovedTube what was the purpose of autoplayDeniedOnce introduced in https://github.com/code-charity/youtube/commit/dc00a7e92701c83e2722c2346275a3380cc61d11 this breaks "disable Autoplay" For me the main reason for using ImproveTube is disabling autoplay :(

ImprovedTube commented 5 months ago

The log is friendly: It points out probably unnecessary extra runs. The commit message missed to mention https://github.com/code-charity/youtube/issues/1809#issuecomment-1922634933. (if you find that undoing the commit helps @raszpl, we can just make sure that it won't pause long after the page-load or after the user clicks play or that https://github.com/code-charity/youtube/issues/1809#issuecomment-1922634933 isn't related.) Else, to solve the bug you can check while/if it happens, if our autoplay-off function runs at all. (It might makes 0 attempts then.) The feature once designed to quit onkeydown & onmousedown: https://github.com/search?q=repo%3Acode-charity%2Fyoutube%20ignore_autoplay_off&type=code
( Btw, to make sure: did the bug pause on March 17? @nairblyL @redcat42 @grndkntrl & did it ever happen before Feb22 since when? ) Thanks for caring!

> One way to semi fix this might be to detect this happening and re-initialize autoplay/volume and whatever else https://github.com/code-charity/youtube/issues/1809#issuecomment-1876116973

Similar might happens or have increased since youtube's update including adblocker alerts (October 18, 2023) which changed a lot. Yet i dont know. (Reporters of issue 1851 might also be new users.)


You'd probably enjoy at the top of our To-Do-List to simply allow everyone to enable/disable all of youtube's experiment flags (up to 800?) - (and crowdsourcing what they even mean): https://github.com/code-charity/youtube/issues/1851#issuecomment-1836081643
*'at the top' besides these days i / we also should test Manifest v3 (converting some lines and keeping alive the background worker)

commit message

...while most maintainers work alone most of the time..(, some commit messages might only express justifiable confidence that it might be uncritical enough or include noise, not rewarding enough to go back anytime soon just to document each bit.) Yet we are lucky! Raszpl is back! (And luckily we have several users too already)

All of which should lead to thinking of more team-work and better collaborative tools!(?) But many maintainers seem to "want" to stay alone 😲.
While in our little niche each maintainer's "sisyphus-torture" alone doesn't sufficiently care for the user. - So instead every developer in average is frustrating many users 🤔 (possibly without noticing? - while the user-counts are replaced while younger generations arrive). Discussed here: https://github.com/code-charity/youtube/discussions/1881#discussioncomment-7820498. Many also seem to believe in ownership. (Whats farther from commercial ownership than our niche yet? One might think, one should believe in ownership, because other people do?). Yet that's contrary so far, while most of our niche is volunteering, dependent on YouTube and comparably modest (while team-work will first raise efficiency and optionally even commercial self-sustainability too.)

raszpl commented 5 months ago

my comment moved from https://github.com/code-charity/youtube/pull/2109

1 We have a feature called "autoplay" 'player_autoplay' while it should be called "Disable Autoplay", https://github.com/code-charity/youtube/pull/2110 addresses this

2 ignore_autoplay_off is confusing, renaming to user_interacted better reflects its role. User clicking on a page = user interacting = need to pass HTMLMediaElement.prototype.play no matter other settings

3: https://github.com/code-charity/youtube/blob/cac7962b8d566b4526b7001cc07c2b206b438f15/js%26css/web-accessible/init.js#L98

https://github.com/code-charity/youtube/blob/cac7962b8d566b4526b7001cc07c2b206b438f15/js%26css/web-accessible/functions.js#L325 both are too late, this is the reason for up to 1 second play even with autoplay disabled, something https://github.com/code-charity/youtube/commit/39ada0f68cbb77195982531a4d72ff05e9e96e16 failed to fix This needs to be on top of init.js just like the 30fps and codec overrides so it catches before YT starts interacting with the page.

ImprovedTube commented 5 months ago

hi! 🎉 yes, AutoplayOFF should be fast (or notice if the user already clicked the player, play button, or a shortcut to play. And i think someone started considering more user interaction, when there once was some unwanted/unclear pausing during youtube navigation.) (Different story you might remember: #1508)

Pseudo-code :

PlayOrPause? () {

is this tab active(Case A) or in the background?(B) 
AND is this video a "next video"?[1.AI suggestion 2.my playlist 3. public playlist] 
( OR a new page-load[4.after restoring a browser session|clicking[a Link?
  [5. external|6.internal|7."related video"]|8.bookmark] | 9.embedded player?10.still invisible below the fold?)
AND was this just first activated/fully rendered after being opened in the background?(Case C)
) 
AND is it music or another specific genre? AND is this from from my subscriptions or not?

} So there easily is an Array with many possibilities (3*10-3)*3*2), many of which could be smart/efficient. 🤔(#1081).

While case B or C might need developer attention and since v4.0 tab status code in background.js was reduced to quickly test Manifest v3. And the same could can equally be considered when deciding other parameters such as volume or speed.


Long-term structure/vision for our UI:

  1. my content & discovery logic

  2. my~?setup:
    a) (Web-)Video Features (+specific Youtube Tweaking + Youtube's Experiment Flags , those added by the user) ). b) Youtube: Cleaning/Trashbin (Up to 100s (including disabled Youtube's Experiment Flags) Ideally needed decreasingly often.) c) Youtube Minimap/Layout (more sections, maybe Drag&drop for Sizes, Positions & paint bucket for Colors)

( https://github.com/code-charity/youtube/discussions/848#discussioncomment-588359, https://github.com/code-charity/youtube/issues/890#issuecomment-1034264001 )

while extra exceptions/conditions like video genre could be set for many features on right click. and shortcuts or buttons to toggle any experiment flag or anything could be setup with right click too.


2110

user_interacted

👍 good (...#2111) and while avoiding negation, the word: Disable could also stay shortened somehow. (Can be avoided in code & translations[often enough to translate the word 'disable' alone instead as an option name instead of a new string of two words] )
And ultimately, unlike for the early extension users, new users don't need to care what are Youtube's-defaults but just what they need/want. ( And our UI needs not 45 negation-words/language strings, but maybe just one for all. Since our Default:"true"[Autoplay UpNext Loudness Normalization 60FPS Crop-Chaptertitles] are just YouTube features, that users might want to subtract from YouTube [and only keep only in the "trashbin"]. So in our UI we can keep showing them enabled a but also just visually marked/ordered as Youtube defaults, that the user might want to decide about all in a row (unless 😀 in future we allow the same auto play on off button for all web video including facebook.com/watch, etc.) ) - Of course on the contrary "disable autoplay" is of course a more common phrase than "enable autoplay" (just like for HDR and SDR #1460 (highlight) ) - At least generally, this is the way as shortcuts demonstrates: We have to show YouTube's defaults to make it convenient. To make the whole combined thing better. Same will be, when we offer a view on the list of all Youtube experiment flags. While no fixed defaults exist and vary between youtube accounts and several of them include the word autoplay. So we boost our Features anytime and just need to crowdsource or measure the meaning of the flags and order by relevance or by current goal of the user: cleaning/minimalism OR trying new features. While each feature and each experiment can always appear on both lists, just often at a whole different ranking (and
depending each user's previous normality, as defined by what YouTube gave or what was set with us)

raszpl commented 5 months ago

2110

(Still need to check if settings are false or true #1685 #2085)

https://palantir.github.io/tslint/rules/no-boolean-literal-compare/ https://typescript-eslint.io/rules/no-unnecessary-boolean-literal-compare/ https://rules.sonarsource.com/java/RSPEC-1125/ https://www.c-sharpcorner.com/article/common-code-smell-mistakes-in-c-sharp-part-1/

And ultimately, unlike for the early extension users, new users don't need to care what are Youtube's-defaults but just what they need/want.

This is how you end up with people blaming extension for Autoplay not working. Calling it what it is clears all confusion. "Force Autoplay Off" is a good start, "Disable automatic Video playback" is another one.

( And our UI needs not 45 negation-words/language strings, but maybe just one for all. Since our Default:"true"[Autoplay UpNext Loudness Normalization 60FPS HDR Crop-Chaptertitles] are just YouTube features, that users might want to subtract from YouTube [and only keep only in the "trashbin"]. So in our UI we can keep showing them enabled a but also just visually marked/ordered as Youtube defaults,

sounds good on paper until one of those YT features doesnt work for some reason and user blames extension because "its clearly ON in the extension ergo extension doesnt work" :)

ImprovedTube commented 5 months ago

palantir.github.io/tslint/rules/no-boolean-literal-compare

😆sorry @raszpl (repeated this with my head off, vaguely remembering https://github.com/code-charity/youtube/commit/3cd0c66143c14494d715bd8b38fa3f4001c6d3d7 )

user blames extension because "its clearly ON in the extension ergo extension doesnt work" :)

Yeah! Not decided, just for the debate: Could have a strong headline like "Disable Youtube features/defaults?" Red colored list, with check-boxes, while unchecking makes the elements greyed out. (without our red glowing toggles) (+not sure how many bad reviews come from this actually - Could add a tooltip/link to browser's autoplay settings.)

raszpl commented 5 months ago

😆sorry @raszpl (repeated this with my head off, vaguely remembering 3cd0c66 )

This is a great example! https://github.com/code-charity/youtube/commit/3cd0c66143c14494d715bd8b38fa3f4001c6d3d7 We need player_60fps === false here because we were relying on Default ON - every user having player_60fps already set to true by default.

https://github.com/code-charity/youtube/issues/1689 came about because of this backwards naming. Calling it "Allow 60fps" suggests we are doing something special to 60fps videos which is not true. Extension can only block 60fps, it cant really "allow" anything. If this was called "Force 30fps limit" that bug would never have happened :) Imo naming options in a way suggesting they are doing something while this ON state results in Extension not doing anything is a bad idea.

Tithi49 commented 5 months ago

Thank you for your email

On Sat, 24 Feb, 2024, 4:38 AM nairblyL, @.***> wrote:

Bug Report:

BUG: Videos auto play even when the option is turned off if the window is in focus. ⚬ HOW: Open a video in the current window or refresh a tab with a paused video. Expected behaviour: The video auto pauses. Actual behaviour: The video auto plays.

⚬ If a YouTube change started the bug, please copy the DOM you get (especially if the bug doesn't happen when you log out or on another computer) ⚬ Or did our last update start the bug? ⚬ ImprovedTube Version: 4.700

1. Thanks for coming & caring! Before submitting, please check if the issue has already been reported ever. With GitHub's issue search (use this link) https://github.com/ImprovedTube/ImprovedTube/issues?q= (else removing "is:issue is:open" from the standard search) ( - If it was posted before, you can answer/react there to give it your voice and move it up in the lists) ( - If the status is "closed" (=fixed) recently, then Web Stores can be updated soon - if it was closed month or years ago, then it might reappeared & must be fixed again.)

2. To give us a chance to solve the bug: Can you ...?:

⚬ Browser: Chrome 121.0.6167.185 ⚬ Settings:

⚬ OS: Win10 ⚬ Device:

— Reply to this email directly, view it on GitHub https://github.com/code-charity/youtube/issues/2042, or unsubscribe https://github.com/notifications/unsubscribe-auth/A45NS753UQ3KUQIINMEJW6DYVEONJAVCNFSM6AAAAABDXO6UTKVHI2DSMVQWIX3LMV43ASLTON2WKOZSGE2TCOJTGMZTCMY . You are receiving this because you are subscribed to this thread.Message ID: @.***>

ImprovedTube commented 5 months ago

exactly @raszpl. 1.) All can be false by default (

[Autoplay UpNext Loudness Normalization 60FPS Crop-Chaptertitles] )

2.) UI: Negation("trashbin") is category more than a feature.

Just re-wrote #1685

ImprovedTube commented 5 months ago

the myth goes on disable autoplay

sonal-g123 commented 5 months ago

Ver 8.420

Disabled all extensions, and surprisingly, YT videos autoplayed. Enabled just the IT extension, and I had to manually play the videos.

ImprovedTube commented 5 months ago

hi! @sonal-g123 did you switch off autoplay with the extension? (our feature is on when the switch if off)

sonal-g123 commented 5 months ago

Here are my settings https://imgur.com/a/13HgKtj To be clear, I am talking about autoplay on the videos I click, and not for the videos in YT's playlists.

I just uninstalled and reinstalled your main (4.823) and Test extensions. Even with no feature on (I checked the active features setting), my videos did not play on their own. As soon as I uninstalled these apps, the autoplay began to work. I also manually tried to switch your extension's autoplay feature on and off, and tested both. For both, the videos did not play automatically. I use Chrome, if that's helpful.

sonal-g123 commented 5 months ago

Bumping this up in case it was overlooked

ImprovedTube commented 5 months ago

hi @sonal-g123, im not getting such error, please check the browser console.

raszpl commented 4 months ago

https://github.com/code-charity/youtube/blob/b412f2dde393dc18e9a3e415ef1e74815ba14984/js%26css/web-accessible/www.youtube.com/player.js#L18

I can see multiple "autoplay:off - should we pause here again?" in console log, this is to blame. This broke it dc00a7e "fixes & tidy" is not a great commit message to put it mildly :) cant see what issue this is supposed to fix

I finally know! I disabled this whole autoplayDeniedOnce to find out and finally triggered it. I just experienced a video that kept auto pausing forcing me to keep clicking right in the middle of Video window 7 times in a row, finally let me watch after 8th click. I have additional logging sprinkled all over the place:

14:49:30.805 player.js:26 Pause in settimeout 14:49:31.044 player.js:26 Pause in settimeout 14:49:31.047 player.js:26 Pause in settimeout 14:49:31.049 player.js:26 Pause in settimeout 14:49:32.186 player.js:26 Pause in settimeout 14:49:33.455 player.js:26 Pause in settimeout 14:49:35.485 player.js:26 Pause in settimeout

so I can see it was pausing in https://github.com/code-charity/youtube/blob/04a604b4b53213d98917ab44448a30024200af99/js%26css/web-accessible/www.youtube.com/player.js#L19

Problem lies here: https://github.com/code-charity/youtube/blob/04a604b4b53213d98917ab44448a30024200af99/js%26css/web-accessible/functions.js#L446-L461

somehow this elaborate list of conditions sometimes very rarely prevents ImprovedTube.user_interacted = true; when user clicks Play on newly opened page. Result was [Bug: Extension seems to keep pausing the player. Needs immediate action] https://github.com/code-charity/youtube/issues/1387 followed by [Bug: Extension still keeps pausing the player. Not solved.] https://github.com/code-charity/youtube/issues/1592 so my guess is autoplayDeniedOnce was added to prevent repeated pauses, but source of the problem is in onmousedown handler. Looking at other html5-stop-autoplay extensions there should be no conditions in the handler - user clicking anywhere should be enough signal to disable pausing. our keydown handler doesnt bother with any comparisons and just works https://github.com/code-charity/youtube/blob/04a604b4b53213d98917ab44448a30024200af99/js%26css/web-accessible/functions.js#L438-L441

raszpl commented 4 months ago

and there it is!

16:34:31.029 functions.js:448 mousedown listener
16:34:31.029 functions.js:450 mousedown in player
16:34:31.110 player.js:26 Pause in settimeout

my instrumented mousedown handler:

ImprovedTube.onmousedown = function (event) {
    window.addEventListener('mousedown', function (event) {
        console.log('mousedown listener');
        if (ImprovedTube.elements.player && ImprovedTube.elements.player.classList.contains('ad-showing') === false) {
            console.log('mousedown in player');
            var path = event.composedPath();

            for (var i = 0, l = path.length; i < l; i++) {
                if (path[i].className
                    && path[i].className.indexOf
                    && (path[i].className.indexOf('html5-main-video') !== -1
                        || path[i].className.indexOf('ytp-play-button') !== -1)) {
                    console.log('mousedown user_interacted');
                    ImprovedTube.user_interacted = true;
                }
            }
        }
    }, true);
};

so when I just clicked in the middle of Video window onmousedown handler triggered and managed to log 'mousedown listener' 'mousedown in player' but not 'mousedown user_interacted' and video was still paused. Video is question was vertical, so doesnt cover whole video window. 'html5-main-video' only covers the video bit, not whole video window. YT starts playing when clicking anywhere in Video window, doesnt restrict to just 'html5-main-video' part.

Seems the easiest fix will be removing all the junk from onmousedown handler.

ImprovedTube commented 4 months ago

Great! @raszpl
i'm setting a 800ms limit & we could add more alternatives to the regex: https://github.com/code-charity/youtube/commit/e56ddb2ef2964d3e2c58f248b8df5dcc9268c509?diff=unified&w=1

At least 1 in the 3 reports we got isn't a vertical video (Firefox):

I'm using Firefox, and with version 4.615, I can confirm that with the "Autoplay" setting off, the video will not start https://github.com/code-charity/youtube/assets/55325485/5f8c6ea5-8d41-465b-b817-d1efabda65d1

( https://github.com/code-charity/youtube/issues/1809#issuecomment-1951532778 )

For Brave & Opera GX Did repeated pausing (autoplay off, #1809) only happen in vertical videos to one of you guys? @stuart-brown @JLewis1309 )

ImprovedTube commented 4 months ago

hi! @nairblyL @redcat42 can you tell if this (#2042) still happens with the latest.zip?

xSnufflesx commented 2 months ago

Great! @raszpl i'm setting a 800ms limit & we could add more alternatives to the regex: e56ddb2?diff=unified&w=1

At least 1 in the 3 reports we got isn't a vertical video (Firefox):

I'm using Firefox, and with version 4.615, I can confirm that with the "Autoplay" setting off, the video will not start https://github.com/code-charity/youtube/assets/55325485/5f8c6ea5-8d41-465b-b817-d1efabda65d1

( #1809 (comment) )

For Brave & Opera GX Did repeated pausing (autoplay off, #1809) only happen in vertical videos to one of you guys? @stuart-brown @JLewis1309 )

The Pausing happened in every video, at some point i disabled the extension again (Dont remember why) and i just today reenabled it so will see if any of the issues still show up for me EDIT: Using Version 4.1007 on Vivaldi Browser, it was working just fine with the "Player > Force Autoplay Off" option enabled but just now it randomly stopped working and the videos start paused and trying to play them just doesnt work but if i disable the extension or disable Force Autoplay off and refresh it works ¯_(ツ)_/¯

raszpl commented 2 months ago

working just fine with the "Player > Force Autoplay Off" option enabled but just now it randomly stopped working and the videos start paused

wait, "Force Autoplay Off" option enabled is supposed to make all videos start paused

and trying to play them just doesnt work

need to see errors in console

xSnufflesx commented 2 months ago

i might of worded it wrong, when its working properly Force Autoplay Off Enabled will make videos start paused and then when i unpause they play normally When its not working the videos start paused but when trying to unpause they wont unpause and the video just stays permanently paused until i disable the option or the extension and refresh the page. Just reenabled Force Autoplay Off and it seems to be working again for now so i have no clue whats causing it to work fine sometimes then other times it will just stop working. It seems to come and go

raszpl commented 2 months ago

Next time this happen open console and copy all the errors please. Something is most likely crashing.

xSnufflesx commented 2 months ago

Hopefully this helps https://i.imgur.com/poojoko.png https://i.imgur.com/4lyTQeH.png https://i.imgur.com/99kezKm.png https://i.imgur.com/rKrd3X9.png

Also for what its worth seems i dont have to refresh the page to get the bug to happen or go away, i enable Force Autoplay off and the video wont play when i try to unpause it, i disable the setting and i can play the video fine. all without restarting the page

raszpl commented 2 months ago

Nothing is crashing, but there is 10 video Pause events in the first screenshot. Having recently looked at shortcut code its possible it is overriding ImprovedTube.onkeydown thus not running ImprovedTube.user_interacted = true; thus ImprovedTube.autoplayDisable : if (player && !this.user_interacted passing every time because extension doesnt notice you clicked a button and will prevent every click.

While Play is not working and you are in console run ImprovedTube.user_interacted and check if it isnt false by any chance

also how are you trying to play the video? with a keyboard (for example 'space') or by clicking inside the Video area with a mouse? or touch pad?

xSnufflesx commented 2 months ago

I was clicking inside the video and pressing space on Keyboard, neither worked. Its magically working again so ill have to wait til it borks up to run that thing in console

EDIT: it borked again so ran the thing https://i.imgur.com/46OXAYF.png

raszpl commented 2 months ago

That makes no sense, Pause code never runs with ImprovedTube.user_interacted true https://github.com/code-charity/youtube/blob/8510b2cf48e8651c6c29c45e6c8b9cf7f65b807f/js%26css/web-accessible/www.youtube.com/player.js#L16

xSnufflesx commented 1 month ago

I assume this problem hasnt been fixed yet or my Version of Improve Youtube just hasnt updated properly yet?

ImprovedTube commented 1 month ago

hi! @JLewis1309, yes, @raszpl tried to make sure this is not our code.

are you using chrome webstore?

our opera versions remains at 4.580 (opera stopped publishing updates) opera addon

xSnufflesx commented 1 month ago

Using Vivaldi now and version i have is 4.1077 and thats the latest version i see in Chrome Webstore

ImprovedTube commented 1 month ago

thanks! @JLewis1309

EDIT: it borked again so ran the thing


(do you run other extensions for youtube? / same questions as our bug report form )

i have had this bug sometimes since youtube was new and this extension didn't exist.

xSnufflesx commented 1 month ago

The Flags have been added to the sheet under #2042 Surprisingly Logging out did fix the issue it seems and also the issue is currently fixed on Google Chrome and Opera GX for me just not Vivaldi BUT its also not super consistent from what ive seen sometimes itll work fine no problems then all of a sudden it just wont let u unpause the video So At the time of putting the Flags in the Sheet Google Chrome and Opera GX worked, Vivaldi (Logged Off) Worked BUT Vivaldi (Logged IN) didnt work

Only Extensions i have that affect YT is ImproveTube, Return Dislike Button, and BetterTTV but even when i disabled Every Extension i have but ImproveTube the problem still happened so i dont THINK anyother extensions would be causing it but ¯_(ツ)_/¯

ImprovedTube commented 1 month ago

hi! @xSnufflesx thanks! so these uBO rules will make your flags the same as Logged out: If few of these fixes it, then we might have defined another very common bug exactly (as common as ImprovedTube, Youtube Premium and Vivaldi combined)

youtube.com##+js(aopr, yt.config_.EXPERIMENT_FLAGS.PremiumClientSharedConfig__enable_att_contextprocessor, false) youtube.com##+js(aopr, yt.config.EXPERIMENT_FLAGS.PremiumClientSharedConfig__enable_att_for_get_premium_on_web_client, false)

youtube.com##+js(aopr, yt.config_.EXPERIMENT_FLAGS.use_rta_manager_for_async, false)

youtube.com##+js(aopr, yt.config_.EXPERIMENT_FLAGS.enable_highscore, false) youtube.com##+js(aopr, yt.config.EXPERIMENT_FLAGS.enable_high_scoresharing, false) youtube.com##+js(aopr, yt.config.EXPERIMENT_FLAGS.enable_save_highscore, false) youtube.com##+js(aopr, yt.config.EXPERIMENT_FLAGS.enable_score_challenge, false)

youtube.com##+js(aopr, yt.config_.EXPERIMENT_FLAGS.enable_profile_cards_oncomments, false) youtube.com##+js(aopr, yt.config.EXPERIMENT_FLAGS.kevlar_poly_si_batch_j037, false)

youtube.com##+js(aopr, yt.config_.EXPERIMENT_FLAGS.ab_det_apbb, true) youtube.com##+js(aopr, yt.config.EXPERIMENT_FLAGS.check_user_lact_at_prompt_shown_time_onweb, true) youtube.com##+js(aopr, yt.config.EXPERIMENT_FLAGS.cold_missinghistory, true) youtube.com##+js(aopr, yt.config.EXPERIMENT_FLAGS.html5_force_debug_data_for_client_tmp_logs, true)

youtube.com##+js(aopr, yt.config_.EXPERIMENT_FLAGS.live_reactions_desktop_fab_relocation_mode, 4)


youtube.com##+js(aopr, yt.config_.EXPERIMENT_FLAGS.il_payloadscraping, undefined) youtube.com##+js(aopr, yt.config.EXPERIMENT_FLAGS.loading_bar_progresscalculation, "") youtube.com##+js(aopr, yt.config.EXPERIMENT_FLAGS.podcast_show_lockup_style_web, "")

xSnufflesx commented 1 month ago

Ok soo i tried adding that to uBO > "My Rules" but apparently there is some kind of syntax error so it wont save properly Then i thought maybe you meant in Filters so i added them there, applied changes, turned "Force Autoplay Off" On and reloaded a Youtube video..it didnt work, and also caused the page to act weird and never load comments or really anything from the Youtube page except the video. So then i removed those from the Filter, reloaded the YT page and it worked, so currently as of writing this the Force Autoplay Off being turned on works as intended and pauses the video on load then i can freely pause and unpause the video.

No clue tho if this is because adding and removing those filters did something or it just coincidentally decided to start working random again Bugs are weird

EDIT: Anddd the bug is back lol Just tried adding and removing the filters again just in case and the bug didnt fix itself so pretty sure was just a Coincidence

xSnufflesx commented 3 weeks ago

https://i.imgur.com/V4ua6f0.png Still can't unpause the video ;-; Crys in Vivaldi