Dragging and dropping content into an app

Using the built-in HTML "Drag & Drop", we are able to detect and use content dragged into a Spotify App. You can read more about this in the Developer Guidelines.

The manifest.json file

You need to add the ApplicationLinkTypes property to the manifest.json file, setting what type of content you want to support:

For example:

"ApplicationLinkTypes": [ "playlist" ]

The Javascript

The HTML

Live Example

Drop a playlist here