Having issues streaming certain tracks with SDK3.0
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 25/100
- Tipo di issue
- Bug
- Chiarezza
- Da chiarire
- Stato di attività
- Ferma
- Stack tecnologico
- javascript
- Ambito
- api
Direzione di ricerca
Start with the linked playSong() snippet and CodePen, then compare the failing and working track URLs under SDK3.0. Reproduce the Safari request and inspect the reported Accept-Encoding/CORS error to determine whether the problem is in the SDK request or SoundCloud's response. Done means a confirmed cause with an actionable SDK fix or a documented external limitation.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Hi,
after switching from SDK2.0 and using only SC.stream() to SDK3.0 and using resolve to find the ID, certain tracks won't play.
No error messages given, they simply will not play.
Examples of tracks that are not playing:
https://soundcloud.com/dreamchasersrecords/meek-mill-pray-for-em
https://soundcloud.com/gangstagibbs/hot-boys-produced-by-dupri-of-league-of-starz
Examples of tracks that are playing fine:
https://soundcloud.com/kanyewest/nomorepartiesinla
https://soundcloud.com/amirobe/amir-obe-before-the-vomit-produced-by-oz
They were all playing when I was using SDK2.0 and supplying the ID of the song,
Any ideas? Very frustrating!
Thanks.
Edit:
Also made a small codepen showing the issue: http://codepen.io/mariussunde/pen/mVxKPO
Last track does not work
Edit 2:
Safari also gives me these errors;
[Error] Failed to load resource: Request header field Accept-Encoding is not allowed by Access-Control-Allow-Headers. (242557602.json, line 0)
[Error] XMLHttpRequest cannot load https://api.soundcloud.com/tracks/242557602.json?client_id=9e05e349251475056d1bc81acbf08c71&secret_token=tracks. Request header field Accept-Encoding is not allowed by Access-Control-Allow-Headers.
Now my question here is, is this something I can fix on my own server, or does the issue lie with soundcloud?
- Lingua principale
- JavaScript
- Stelle
- 388
- Fork
- 76
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di soundcloud/soundcloud-javascript
-
Dependency Dashboard Aperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 15/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 15/100
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
soundcloud/soundcloud-javascript#90 · 1 reazione ·
-
Get currently playing track Aperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
Tutte le issue di soundcloud/soundcloud-javascript
Issue simili
-
Update HugeIcons library Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
antfu-collective/icones#398 ·
-
ECmail.com Aperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100
wesbos/burner-email-providers#554 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
radiantearth/stac-browser#1023 ·
-
HMR stops working Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
components-web-app/docs#92 ·