In a project I'm working on I noticed that, on iOS, the sounds are muted when the ringer switch is turned off. The project is based on CreateJS and the sounds are managed by SoundJS.
Frustratingly, other websites that use sounds/media (youtube, facebook, soundhound, spotify, etc) seem unaffected by the ringer switch.
I tested on a few different iPhones with iOS versions ranging from 9.2 to 10.1.1: all presented the same issue.
What could be reason of this behaviour? Is there any documentation around that might explain how to fix it?