A Javascript library for working with Audio. It provides a consistent API for loading and playing audio on different browsers and devices. Currently supports WebAudio, HTML5 Audio, Cordova / PhoneGap, and a Flash fallback.
Chrome is deprecating the capability to unlock an audio context via touch events.
Currently SoundJS will listen for the first document-level "mousedown" and "touchend" event, and play an empty sound to unlock the WebAudio context on mobile devices.
Recently, the following message appears in the console:
Performing operations that require explicit user interaction on touchstart events is deprecated and will be removed in M54, around October 2016. See https://www.chromestatus.com/features/5649871251963904 for more details.
This document indicates that touch events will no longer be considered user events if they result in a scroll. We may need to reintroduce a better way to unlock audio.
Chrome is deprecating the capability to unlock an audio context via touch events.
Currently SoundJS will listen for the first document-level "mousedown" and "touchend" event, and play an empty sound to unlock the WebAudio context on mobile devices.
Recently, the following message appears in the console:
This document indicates that touch events will no longer be considered user events if they result in a scroll. We may need to reintroduce a better way to unlock audio.