Safari can't load audio - XHR (example included)
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- javascript
- Domain
- api
Research direction
Start with the linked example and its source repository, then reproduce the audio-buffer request in Safari and iOS Safari. Compare the working Chrome and local Safari behavior with the hosted 403 and Access-Control-Allow-Headers errors; done means SoundCloud audio loads into a Tone.js audioBuffer and plays without those errors.
Written by the indexing model from the issue text.
Description
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.
- Dominant language
- JavaScript
- Stars
- 388
- Forks
- 76
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from soundcloud/soundcloud-javascript
-
Dependency Dashboard Open
Difficulty 5/5 Over a week Newbie friendliness 15/100
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
-
Difficulty 5/5 Over a week Newbie friendliness 15/100
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
soundcloud/soundcloud-javascript#90 · 1 reaction ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
All issues in soundcloud/soundcloud-javascript
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
palladius/rails8-app-on-gcp#145 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
dotenvx/dotenv-vscode#139 ·
-
test-change-proposal
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
web-platform-tests/interop#1455 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
corsairdev/corsair#1764 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100