this post was submitted on 01 Oct 2023
24 points (90.0% liked)

Firefox

20340 readers
78 users here now

/c/firefox

A place to discuss the news and latest developments on the open-source browser Firefox.


Rules

1. Adhere to the instance rules

2. Be kind to one another

3. Communicate in a civil manner


Reporting

If you would like to bring an issue to the moderators attention, please use the "Create Report" feature on the offending comment or post and it will be reviewed as time allows.


founded 5 years ago
MODERATORS
 

Hi everyone, This isn't the biggest issue, but it's a bit concerning, and I'm hoping someone knows a solution.

I have my autoplay settings to block audio and video, with just the default exceptions. However, certain sites, such as https://youtubetranscript.com/ will autoplay videos anyway. (Try pasting a URL of a YouTube video in there and search, and the results will immediately start playing, which is aggravating and has actually disturbed people before when I forget that's a thing that happens.)

I've done some searching, and checked about:config, but I think everything is okay in there.

I've also tested this in LibreWolf, where the exact same thing happened.

I also attempted to test it in Tor, but for some reason I am unable to connect to the Tor network right now.

I'm hoping I can find the root of the problem since clearly if it happens on this site, then it's likely to happen on others, and I'd rather not have videos autoplaying when I expect them not to.

This may or may not happen in other browsers, but it's still a Firefox issue, since Firefox presents us with a setting to disable autoplay, and one would expect it to work.

Edit: Bonus side note: ~~The reason I couldn't connect to Tor is the new version isn't working. The solution is to downgrade to 12.5.3 and disable automatic updates for now.~~ Bonus side note to my bonus side note: Turns out Microsoft flagged the latest version of Tor as a threat. Fuck Microsoft.

Edit: See solution by @jsdz@lemmy.ml below

top 6 comments
sorted by: hot top controversial new old
[–] jsdz@lemmy.ml 9 points 2 years ago (1 children)

Doesn't autoplay for me, possibly because I have "media.autoplay.blocking_policy" set to 2.

That did it! Wonderful!

Thank you very much. None of what I found by searching even mentioned this setting.

[–] themoonisacheese@sh.itjust.works 7 points 2 years ago (1 children)

on a technicality this is not a bug. videos are allowed to play as a response to an event (and page loads, if you allow it) such as a click. the website is using your "blessed click event" from when you clicked search to play the video.

this is because in general, websites load a new page on a search (can't trigger autoplay), but this site does not and is therefore able to use your click event from the same page.

Oh, I see. I did notice it behaves quite differently than most search features, so the ELI5 is it's interpreting clicking "go" the same way as clicking "play."

I wonder if there's any way around this. This is just one example, but I suspect there are other sites that would behave in such a way. Maybe there's a uBlock filter? I'll do some searching. Thanks for explaining, that makes a lot of sense how you explained it.

[–] glad_cat@lemmy.sdf.org 2 points 2 years ago (1 children)

I guess it’s a bug since I have the same problem on macOS.

I'm tempted to download a non-Firefox browser to test it. If it's a bug with the site, then webcompat will just close it as not a Firefox issue.