Skip to content

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

Open
@ekor15

Description

@ekor15

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"

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions