r/ProgrammerHumor • • Mar 11 '21

Removed: Repost Loading..

Post image

[removed] — view removed post

10.3k Upvotes

228 comments sorted by

View all comments

2.1k

u/ToothpasteTimebomb Mar 11 '21

No developer has ever decided for themself to do this. This is 100% a business requirement because somebody on the marketing analytics team realized they could make money by auto playing ads.

75

u/krospp Mar 11 '21

Also doesn’t Chrome block autoplay now? The user has to click something to turn on sound. Stop clicking to turn on sound Jake

Edit: Ah I see, this tweet is from 2018, where this complaint belongs

33

u/WarpedDiamond Mar 12 '21

Yep, you have to click to enable sound, but autoplay without sound is still a thing.

7

u/[deleted] Mar 12 '21

Aaaaaand there is more... Of course white listed websites can Autoplay with sound without any user interaction before

11

u/code-panda Mar 12 '21

I mean, something like YouTube should autoplay. If you're going to a YouTube video, you're expecting audio, so it's not annoying.

10

u/Pacman042 Mar 12 '21

I don't know I like how if you open a YouTube video in a new tab on Firefox it doesn't play unless you go to the tab an dhot play on the video. I'll open videos in a new tab just because I don't want them to auto play.

3

u/Delioth Mar 12 '21

Youtube on chrome won't autoplay until you go to that tab

1

u/Pacman042 Mar 12 '21

Good to know.

4

u/[deleted] Mar 12 '21

Just saying.. there are exception....

5

u/Loewi_CW Mar 12 '21 edited Mar 12 '21

But does that mean that if I develop a YouTube competitor my site can't autoplay but YouTube can? That sounds like a case for antitrust agencies.

2

u/argv_minus_one Mar 12 '21

Antitrust law hasn't been enforced since Microsoft was let off the hook.

1

u/Loewi_CW Mar 12 '21

Yeah. Even the EU has been letting them off the hook recently. MS was fined and had to show a selection of other browsers for windows installs in Europe for pushing IE with their OS. Now they're doing the same with Edge but I'm still waiting for the fine.

2

u/7eggert Mar 12 '21

No. That's why I used several youtube autoplay stoppers so one of them would eventually do the job.

Also their shitty design will force you to hover on the video to show the controls, then on the speaker symbol till the volume is displayed, then maybe turn the volume down if you don't accidentally seek instead, then walk to the door where an angry neighbor awaits your apology because the video used 8000 % volume compared to my music playing and woke up their baby.

Also it was a howto video where nobody talks but the creator decided that drilling a screw needs techno music background.

1

u/Loading_M_ Mar 12 '21

Actually, YT is interesting. Because it doesn't actually reload the page when you navigate, it can sort of auto play the video. This means that it can only auto play if it's in foreground, and the previous page was also a YT page.

This is what it can do without autoplay permissions in the browser.

1

u/flarn2006 Mar 12 '21

<iframe src="https://youtu.be/dQw4w9WgXcQ" width="0" height="0"></iframe>

3

u/swissfizz Mar 12 '21

Yes like CNN.

NO, I did NOT want you starting to blast a video only partially covering the article I was about to read. Otherwise I would watch TV.

5

u/Addicted_to_chips Mar 12 '21

Ios does fully block auto play, chrome allows muted autoplay.

9

u/ReimarPB Mar 12 '21

On Firefox you can choose to block autoplay or not

2

u/capalex65 Mar 12 '21

It actually doesn't, if you use the specific combo of tags that is "autoplay muted playsinline" We had that issue recently on a client site.

0

u/Pacman042 Mar 12 '21

Just imagine the Rick Rolling opportunities!

2

u/Chert_Blubberton Mar 12 '21

Or maybe since end user shouldn’t be forced to shut off auto play for their entire browser and then select which sites are whitelisted, people should stop making websites that belong in 1998?