Having issues streaming certain tracks with SDK3.0
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 25/100
- issue の種類
- バグ
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- javascript
- 領域
- api
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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?
- 主要言語
- JavaScript
- スター
- 388
- フォーク
- 76
- PR マージ指標
- 30日以内にマージされた PR はありません
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
soundcloud/soundcloud-javascript のほかの issue
-
Dependency Dashboard オープン
難易度 5/5 1週間以上 初心者へのやさしさ 15/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
-
難易度 5/5 1週間以上 初心者へのやさしさ 15/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
soundcloud/soundcloud-javascript#90 · リアクション 1 件 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
soundcloud/soundcloud-javascript の issue をすべて見る
似ている issue
-
Bug
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
Automattic/safe-publish#594 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
dream-num/dsh-univer-office#104 ·
-
comp/dashboard invalid P3
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
NousResearch/hermes-agent#121143 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
avniproject/avni-webapp#1811 ·
-
area/auroraboot area/webui bug
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100