OEmbed endpoint ignores parameters (like color, auto_play...)
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 254
- Forks
- 53
- PR merge metrics
- No merged PRs in 30d
Description
OEmbed endpoint ignores additional parameters causing default player behaviour in Iframe
Issue found of: August 26th, 2021
Endpoint(s):
GET /oembed
Scope(s):
- Not sure, it affects js SDK integration
Steps to reproduce:
Sending additional parameters as described in the docs
curl --request GET \
--url 'https://soundcloud.com/oembed?format=json&color=%23E8CFD3&auto_play=true&url=https://soundcloud.com/forss/flickermood'
Expected behaviour:
The Iframe src tag in the html field of the response should contain additional params: "color=#E8CFD3&auto_play=true"
https://w.soundcloud.com/player/?visual=true&url=https%3A%2F%2Fapi.soundcloud.com%2Ftracks%2F293&show_artwork=true&color=#E8CFD3&auto_play=true
Actual behaviour:
The response ignores any of the parameters described in the documentation
"https://w.soundcloud.com/player/?visual=true&url=https%3A%2F%2Fapi.soundcloud.com%2Ftracks%2F293&show_artwork=true"
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.
Research direction
Start with the GET /oembed endpoint and compare its response with the parameters documented for the OEmbed API. Reproduce the request using the curl example, then verify that the html iframe src includes color and auto_play in addition to the existing parameters.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- api
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100