In mobile chrome on android device, there is a setting called "Data saving" accessible from Settings > Data saving.
When enabled the behavior can be slightly different when reading media, especially video: on mobile autoplay videos are prohibited except if the video is muted but if data saving is enable muted autoplay isn't allowed anymore.
I would need a way to detect if data saving is used so I can change my video player behavior.
I know that there is a header sent in http requests: "save-data: on" But I don't know any way to read http requests header from javascript.
More info here: https://developer.chrome.com/multidevice/data-compression
Thanks for any answer.