News for hackers. Stuff that matters.
Re:Using: Has() as a CSS Parent Selector and much more by akie on Saturday August 20, 2022 @05:28AM (#32530674)
I love their aggressive privacy choices.
Re:Using: Has() as a CSS Parent Selector and much more by solardev on Saturday August 20, 2022 @09:09AM (#32531808)
It seems so fake... Apple adds "privacy" by crippling their competitors, then turns around and adds a bunch of their own intrusive advertising. They don't care about you, they just want to be the next Google
Re:Using: Has() as a CSS Parent Selector and much more by drawfloat on Saturday August 20, 2022 @09:40AM (#32531987)
I love them to an extent. There should be some sort of request API available for temporarily disabling the more stringent media restrictions for a session.

I worked on a media heavy fashion site a few years ago and dealing with Safari not allowing you to dynamically add new audio/video elements with auto play (or to auto play at all in low battery mode) was a real headache. By default it’s great, just offer the option to get permission for experiences that require it.

Re:Using: Has() as a CSS Parent Selector and much more by matheusmoreira on Saturday August 20, 2022 @10:56AM (#32532477)
Auto playing media is not something that should ever be allowed anyway. Apple forcing sites to respect their users is actually a great reason to buy Apple products.
Re:Using: Has() as a CSS Parent Selector and much more by drawfloat on Monday August 22, 2022 @12:28PM (#32553715)
Autoplay on page load, no. But you’re going to severely limit the web experiences available to Safari users (and probably in turn the number of people who use Safari) if you don’t allow some way of getting reasonable consent to auto play media after page load.

Currently most solutions are to load a number of empty audio buffers when the user first clicks and repurpose those for auto playing content later.

If a user has visited a multimedia focused web site (eg: online catwalk show), why not allow them to opt in for that session rather than force them to have a cut down experience?

Re:Using: Has() as a CSS Parent Selector and much more by matheusmoreira on Monday August 22, 2022 @04:23PM (#32556714)
Because allowing these perfectly reasonable things also means allowing abuse. We can't have nice things because of people who think they can just autoplay random stuff we don't care about while we're trying to concentrate on some text. There is nothing more aggravating than opening a website and having some unexpected loud sound start autoplaying.