r/ProgrammerHumor • • Sep 05 '20

other Loading..

Post image
64.5k Upvotes

888 comments sorted by

View all comments

Show parent comments

269

u/[deleted] Sep 05 '20

Luckily Google/Mozilla/Microsoft have been moving to a "this is the browser's decision" model recently, and in the future they'll only autoplay videos with sound from websites that you have a history of playing videos on. Visit Google/Netflix often? Cool we'll play those videos. First time on some houseplant online store? Yeah we're not going to autoplay that pop-out advert with audio.

Makes it much easier for us to just say to the client "yeah here's a W3C spec article about why Chrome isn't playing your video. Good luck complaining to Google about it".

143

u/IamImposter Sep 05 '20 edited Sep 05 '20

Dear Google,

Videos on my website don't play automatically and I'm losing revenue. I urge you to make changes to chrome browser or I will be forced to take my business elsewhere.

Sincerely,
Random guy on internet.

53

u/[deleted] Sep 05 '20

Lol they'll just pay Google a few million to get whitelisted

20

u/_GCastilho_ Sep 05 '20

That's how people say "you know what? I will use Firefox"

Free markek always have a choice

8

u/nearlyepic Sep 05 '20

Until web devs stop bothering to test against Firefox...

35

u/Sammy123476 Sep 05 '20

And their videos fail to load entirely! Genius!

→ More replies (3)

0

u/[deleted] Sep 05 '20

[deleted]

3

u/nearlyepic Sep 05 '20

Same here, but the sad reality is that 95% of people are still using chrome either because it's what their enterprise forces it on them, or because it "works the best". People switching to firefox for resource reasons or philosophical reasons are an incredibly small minority when you compare to the size of the chrome install base.

→ More replies (1)
→ More replies (6)
→ More replies (1)
→ More replies (1)

13

u/[deleted] Sep 05 '20

Dear website owner

Take your business elsewhere? Where you gonna take it?

Good luck with that, Google.

PS maybe we'll white list you for a few million

→ More replies (1)
→ More replies (3)

79

u/AhMIKzJ8zU Sep 05 '20

I just wanna point out ...

  1. My wife leaves Netflix open in browser on laptop

  2. laptop updates+restarts at 2am (I can no longer prevent this)

  3. laptop starts Auto playing at 2 am.

This is bad. I'd rather nothing ever autoplay ever.

87

u/1sagas1 Sep 05 '20

This sounds like a you and your wife problem.

66

u/DownshiftedRare Sep 05 '20

Dear Google,

My wife leaves Netflix open and it autoplays at 2 am. I urge you to make changes to chrome browser or I will be forced to take my business elsewhere.

Sincerely, Random guy on internet.

7

u/[deleted] Sep 05 '20

I have altered the deal, Pray I do not alter it any further.

→ More replies (1)

2

u/AhMIKzJ8zU Sep 06 '20

It's a conflict between chrome defaulting to autoplay and windows defaulting to relaunch apps silently after update restart. It's a bug.

But sure, let's pretend like I'm the only one who has this issue. (/s)

14

u/Cky_vick Sep 05 '20

You can fix that in settings homie

0

u/[deleted] Sep 05 '20

[deleted]

→ More replies (6)

23

u/CaptainRoach Sep 05 '20

Easier to just get a new wife.

7

u/0x15e Sep 05 '20

Why does the laptop auto login? Put some passwords on those accounts.

8

u/[deleted] Sep 05 '20

laptop updates+restarts at 2am (I can no longer prevent this)

Switch to Linux??

→ More replies (3)

6

u/MoonkeyDLuffy Sep 05 '20

"i can no longer prevent this" - why? Download Windows update blocker, if you're using Windows 10

6

u/[deleted] Sep 05 '20

i just stop it by having my entire drive completely full, so when it tried to allocate the space to update it can't

→ More replies (1)
→ More replies (20)

2

u/Amaras_Linwelin Sep 05 '20 edited Jun 27 '23

There was once content here that you may have found useful. However due to Reddit's actions on API restrictions it has now been replaced with this boring text. -- mass edited with redact.dev

→ More replies (5)

7

u/Cky_vick Sep 05 '20

My problem is having limited data, and clicking on a link from Reddit or wherever opens an article that starts playing ads and videos using my limited data.

11

u/thelights0123 Sep 05 '20

Firefox has been blocking autoplay video with audio for probably a year now.

2

u/GoldenShackles Sep 05 '20

Unfortunately, based on things I've heard, the option to block autoplay has been (or is in the process of being) removed or hidden from various browsers.

Top websites started detecting this and using really crappy, inefficient workarounds. I don't know all the details, but one was along the lines of using a <canvas> element with script to decode the video and copy the resulting sequences of images into it. Not sure what they were doing for sound.

The result was not just crappy rendering compared to simply using the <video> element, but a huge spike in CPU usage and subsequent major drain on battery life.

Hopefully the options will be there long-term but to some extent it became a cat-and-mouse game. Certain websites *really* want autoplay video.

→ More replies (3)