We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
const AudioContext = window.AudioContext || window.webkitAudioContext const audioCtx = new AudioContext() function addAudio(name) { fetch(loader(name)).then(response => response.arrayBuffer()).then(buffer => audioCtx.decodeAudioData(buffer)).then(buffer => { sound.add({ [name[0]]: buffer, }, { preload: true }) }) } for (const n of ['1.mp3', '3.ogg', '4.mp3', '5.mp3']) addAudio(n)
//after run this function get error sound.play('3')
sound.play('3')
The error is received only on Safari Mobile.
The text was updated successfully, but these errors were encountered:
3.ogg.zip The rest of the sounds are played well. But this sound gives an error on safari.
Sorry, something went wrong.
No branches or pull requests
//after run this function get error
sound.play('3')
The error is received only on Safari Mobile.
The text was updated successfully, but these errors were encountered: