Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Support of prefers-reduced-data feature #183

Open
dascritch opened this issue Sep 26, 2022 · 0 comments
Open

Support of prefers-reduced-data feature #183

dascritch opened this issue Sep 26, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@dascritch
Copy link
Owner

dascritch commented Sep 26, 2022

As an user
I want to minimize my downloads
To reduce my phone bill

There is a CSS rule for that, we can exploit it in javvascript to NOT getting even metadata and wait for a voluntary action from the user https://www.w3.org/TR/mediaqueries-5/#prefers-reduced-data

As for #180 (comment) , we can use window.matchMedia().matches

On the other side, we can sensibilize and recommend integrators about audio encoding, and also set correctly a source order https://github.com/dascritch/cpu-audio/blob/master/INSTALL.md#indicate-a-prefered-downloadable-audio-resource

@dascritch dascritch added the enhancement New feature or request label Sep 26, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant