oEmbed is a format for allowing an embedded representation of a URL on third party sites. It is a popular standard adopted by sites such as WordPress and Tumblr to embed content from other websites.
ReverbNation currently supports oEmbed for our artist profile pages, and song pages. The ReverbNation oEmbed endpoint serves up an embed code for the ReverbNation Player Widget.
The ReverbNation oEmbed endpoint is located at
https://www.reverbnation.com/oembed?url=
It accepts any URL pointing to an artist or song and supports XML and JSON as a response format.
Example:
https://www.reverbnation.com/oembed?url=https%3A%2F%2Fwww.reverbnation.com%2Fscottyandthereverbs
which returns something like:
| Name | Default | Description |
|---|---|---|
| url | - | A ReverbNation URL for an artist or song. |
| format | xml | (optional) Either xml or json. |
| maxheight | 500 | The maximum height of the embedded resource. |
| maxwidth | 100% | The maximum width of the embedded resource. |