Skip to content
New issue

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

Safari can't load audio - XHR (example included) #66

Open
lukephills opened this issue Jun 20, 2016 · 0 comments
Open

Safari can't load audio - XHR (example included) #66

lukephills opened this issue Jun 20, 2016 · 0 comments

Comments

@lukephills
Copy link

lukephills commented Jun 20, 2016

Hi @diurnalist, I'm following up on the updates to issue #27 - 'Can't play sound in Safari OSX'.

Safari is still unable to load SoundCloud audio into a buffer. I've create a simple example here to show you. The example gets 10 tracks. Click one of the songs to load it into an audioBuffer using Tone.js and it should begin playing.

Example: https://lukephills.github.io/soundcloud-api-audio-buffer/
Source Code: https://github.com/lukephills/soundcloud-api-audio-buffer/

It works as expected in Chrome, but Safari and iOS can't load the track and throw a 403 error and Request header field Accept-Encoding is not allowed by Access-Control-Allow-Headers. error.

Interestingly though, running my example locally in Safari works.

Please can you look it into this soon. My project Blokdust relies on Soundcloud working in Safari. I really appreciate your time and effort.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant