Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

autoplay problem #2042

Open
nairblyL opened this issue Feb 23, 2024 · 40 comments
Open

autoplay problem #2042

nairblyL opened this issue Feb 23, 2024 · 40 comments
Labels
Bug Bug or required update after YouTube changes good first issue A GitHub standard for inviting (new) contributors *Congratulations in advance!* help wanted Just an old github standard we add automatically. (The team can remove it when working on it.) up-for-grabs (a github standard for inviting new contributors) - Welcome! ♥

Comments

@nairblyL
Copy link

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 ...?:
- ..deactivate other extensions running on YouTube? (or use an incognito window after activating this extension to run there / chrome://extensions details chrome://extensions/?id=bnomihfieiccainjcjblhegjgglakjdd )
- ..open the Browser-console, with the F12-Key, before/when the error occures? (then hopefully you'll see an error message in the console).
- ...copy the YouTube-DOM shown above the console (F12) in case YouTube is giving you a new verson. You can copying the root element <html> in the top after the bug happened:
(FireFox:)
- There are 2-3 different versions depending if you open a new window or clicked a link on youtube

⚬ Browser: Chrome 121.0.6167.185
⚬ Settings:

⚬ OS: Win10
⚬ Device:

@nairblyL nairblyL added Bug Bug or required update after YouTube changes good first issue A GitHub standard for inviting (new) contributors *Congratulations in advance!* help wanted Just an old github standard we add automatically. (The team can remove it when working on it.) up-for-grabs (a github standard for inviting new contributors) - Welcome! ♥ labels Feb 23, 2024
@ImprovedTube
Copy link
Member

hi @nairblyL since when?

@nairblyL
Copy link
Author

hi @nairblyL since when?

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

@raszpl
Copy link
Contributor

raszpl commented Mar 4, 2024

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

{if (!ImprovedTube.autoplayDeniedOnce) {

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

@raszpl raszpl mentioned this issue Mar 4, 2024
1 task
@redcat42
Copy link

broken on latest firefox release as well

@raszpl
Copy link
Contributor

raszpl commented Mar 18, 2024

and its broken completely now after reverse to broken version #2105 (comment)

@raszpl
Copy link
Contributor

raszpl commented Mar 19, 2024

@ImprovedTube what was the purpose of autoplayDeniedOnce introduced in dc00a7e this breaks "disable Autoplay"
For me the main reason for using ImproveTube is disabling autoplay :(

@ImprovedTube
Copy link
Member

The log is friendly: It points out probably unnecessary extra runs. The commit message missed to mention #1809 (comment). (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 #1809 (comment) 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

#1809 (comment)

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): #1851 (comment)
*'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: #1881 (reply in thread). 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
Copy link
Contributor

raszpl commented Mar 22, 2024

my comment moved from #2109

1 We have a feature called "autoplay" 'player_autoplay' while it should be called "Disable Autoplay", #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:

this.playerOnPlay();

ImprovedTube.playerOnPlay = function () {

both are too late, this is the reason for up to 1 second play even with autoplay disabled, something 39ada0f 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
Copy link
Member

ImprovedTube commented Mar 22, 2024

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)

( #848 (reply in thread), #890 (comment) )

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
Copy link
Contributor

raszpl commented Mar 23, 2024

#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
Copy link
Member

ImprovedTube commented Mar 23, 2024

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

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

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
Copy link
Contributor

raszpl commented Mar 25, 2024

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

This is a great example!
3cd0c66 We need player_60fps === false here because we were relying on Default ON - every user having player_60fps already set to true by default.

#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
Copy link

Tithi49 commented Mar 25, 2024 via email

@ImprovedTube
Copy link
Member

ImprovedTube commented Mar 25, 2024

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
Copy link
Member

the myth goes on
disable autoplay

@sonal-g123
Copy link

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
Copy link
Member

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

@sonal-g123
Copy link

sonal-g123 commented Apr 1, 2024

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
Copy link

Bumping this up in case it was overlooked

@ImprovedTube
Copy link
Member

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

@raszpl
Copy link
Contributor

raszpl commented Apr 10, 2024

{if (!ImprovedTube.autoplayDeniedOnce) {

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

setTimeout(function () { video.pauseVideo(); });

Problem lies here:

ImprovedTube.onmousedown = function (event) {
window.addEventListener('mousedown', function (event) {
if (ImprovedTube.elements.player && ImprovedTube.elements.player.classList.contains('ad-showing') === false) {
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)) {
ImprovedTube.user_interacted = true;
}
}
}
}, true);
};

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] #1387
followed by [Bug: Extension still keeps pausing the player. Not solved.] #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

ImprovedTube.onkeydown = function () {
window.addEventListener('keydown', function () {
if (ImprovedTube.elements.player && ImprovedTube.elements.player.classList.contains('ad-showing') === false) {
ImprovedTube.user_interacted = true;

@raszpl
Copy link
Contributor

raszpl commented Apr 10, 2024

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
Copy link
Member

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 )

@ImprovedTube
Copy link
Member

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

@xSnufflesx
Copy link

xSnufflesx commented Jun 27, 2024

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
Copy link
Contributor

raszpl commented Jun 29, 2024

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
Copy link

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
Copy link
Contributor

raszpl commented Jun 30, 2024

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

@xSnufflesx
Copy link

xSnufflesx commented Jun 30, 2024

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
Copy link
Contributor

raszpl commented Jun 30, 2024

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
Copy link

xSnufflesx commented Jun 30, 2024

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
Copy link
Contributor

raszpl commented Jul 1, 2024

That makes no sense, Pause code never runs with ImprovedTube.user_interacted true

if (player && !this.user_interacted

@xSnufflesx
Copy link

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

@ImprovedTube
Copy link
Member

ImprovedTube commented Jul 28, 2024

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
Copy link

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

@ImprovedTube
Copy link
Member

thanks! @JLewis1309

EDIT: it borked again so ran the thing

  • please also paste yt.config_.EXPERIMENT_FLAGS in the console on youtube to get the ~1000 "experiment flags, that youtube gives you (1120+ extra tweaks to come! Please help us name (/tag) them in advance #2251)

  • does the bug not happen when logged out of youtube? (can use incognito mode or another browser users),
    (if not, also get the experiment flags when logged out, very few might change then, leading to a solution)


(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
Copy link

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
Copy link
Member

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_context_processor, 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_high_score, false)
youtube.com##+js(aopr, yt.config_.EXPERIMENT_FLAGS.enable_high_score_sharing, false)
youtube.com##+js(aopr, yt.config_.EXPERIMENT_FLAGS.enable_save_high_score, false)
youtube.com##+js(aopr, yt.config_.EXPERIMENT_FLAGS.enable_score_challenge, false)

youtube.com##+js(aopr, yt.config_.EXPERIMENT_FLAGS.enable_profile_cards_on_comments, 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_apb_b, true)
youtube.com##+js(aopr, yt.config_.EXPERIMENT_FLAGS.check_user_lact_at_prompt_shown_time_on_web, true)
youtube.com##+js(aopr, yt.config_.EXPERIMENT_FLAGS.cold_missing_history, 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_payload_scraping, undefined)
youtube.com##+js(aopr, yt.config_.EXPERIMENT_FLAGS.loading_bar_progress_calculation, "")
youtube.com##+js(aopr, yt.config_.EXPERIMENT_FLAGS.podcast_show_lockup_style_web, "")

@xSnufflesx
Copy link

xSnufflesx commented Aug 1, 2024

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
Copy link

xSnufflesx commented Aug 11, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Bug or required update after YouTube changes good first issue A GitHub standard for inviting (new) contributors *Congratulations in advance!* help wanted Just an old github standard we add automatically. (The team can remove it when working on it.) up-for-grabs (a github standard for inviting new contributors) - Welcome! ♥
Projects
None yet
Development

No branches or pull requests

7 participants