Skip to content
Go to file
Cannot retrieve contributors at this time
87 lines (56 sloc) 2.85 KB


oEmbed is a format for allowing an embedded representation of a URL on third party sites. It allows a website to display embedded content (such as photos or videos) when a user posts a link to that resource, without having to parse the resource directly. You can use track and playlist URL’s to get a players embed code. implementation

To request embed code, you have to use our API oEmbed endpoint.

We support JSON (default) and XML as format responses.

API endpoints 

You can request embed codes for tracks and playlists by using our URL scheme.

URL scheme** 


JSON Request


	"title":"Wiz Khalifa - Work Hard Play Hard (Remix ft. Lil Wayne & Young Jeezy)",
	"author_name":"Wiz Khalifa",
	"html":"<iframe width='400' height='40' src='' frameborder='0'></iframe>"

XML Request


	<author_name>Mac Miller</author_name>
		<iframe width='400' height='40' src='' frameborder='0'>

Wordpress integration

Wordpress has supported oEmbed since Version 2.9.

It has really simplified video and audio embeds in your blog post.

To add as a whitelist oEmbed provider to your blog, just add this line at the top of "functions.php" (in your theme folder) after <?php :

wp_oembed_add_provider('*', ''); 

Once done, simply enter the plain text URL of an track or playlist somewhere within your blog post and it will automatically turn into an embedded player. Magic! 

By default, small player with a 100% width will be displayed but you can also adjust player width by wrapping your URL in the an [embed] shortcode:

[embed width="200px"][/embed] 


[embed width="50%"][/embed] 
You can’t perform that action at this time.