Spotify
Plugin for adding a Spotify Embed to CKEditor 4.
Supports both Spotify URIs (spotify:album:1DFixLWuPkv3KT3TnV35m3) and Spotify URLs (http://open.spotify.com/track/6rqhFgbbKwnb9MLmUQDhG6). Includes options for setting alignment, width and height of widget.
Requires CKEditor 4.3+ with the widget plugin. The editor instance must allow div and iframe tags.
Supported languages: English (en), Norwegian Bokmål (nb), Ukrainian (uk).
The plugin uses a few custom styles. These are automatically included in the classic editor instance, but must be copied for inline editors and for the final target webpage. To include the custom styles into your editor/webpage, include the following in the <head> of your document:
<head>
<link rel="stylesheet" href="<PATH_TO_CKEDITOR>/plugins/spotify/styles/spotify.css">
</head>
The code above assumes that this plugin is placed inside the plugin directory of your CKEditor bundle.
Releases
Plugin versions | CKEditor versions | |||
---|---|---|---|---|
4.25 | 4.24 | 4.23 | ||
Version: 1.2.0 |
||||
Adds support for new optional `?si=` query parameter in Spotify URLs. |