soundcloud / soundcloud/api

OEmbed endpoint ignores parameters (like color, auto_play...)

Open
#158 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

sdk
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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.