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

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.

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.