這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Mixcloud Embed

描述

The Mixcloud Embed plugin allows you to add the Mixcloud player into your WordPress blog or page, by using the [mixcloud] shortcode.
You can also display a playlist of the cloudcast.
In the last version there is the possibility to use a widget on your sidebar for view your Mixcloud profile.

Usage

As default you only need to copy the URL of the song from Mixcloud you wish to add into your WordPress post or page, and past it between [mixcloud] and [/mixcloud]

[mixcloud]http://www.mixcloud.com/artist-name/long-live-set-name/[/mixcloud]

Make sure it’s the permalink (…com/artist-name/dj-set-or-live-name/) instead of “…com/domenicobiancardi/“.

The optional parameters are height and width:

[mixcloud height="100" width="400"]http://www.mixcloud.com/artist-name/recorded-live-somewhere/[/mixcloud]

If you want display a cloudcast profile you must add the parameter profile with value true

[mixcloud profile="true"]http://www.mixcloud.com/BJT/[/mixcloud]

If you want embed an entire playlist you must add the url of the playlist:

[mixcloud]http://www.mixcloud.com/BJT/playlists/bjt-djset/[/mixcloud]

This shortcode display a cloudcast profile BJT.

Parameters

This version accepts the following parameters:

  • Height: integer value
  • Width: integer value
  • Iframe: boolean value
  • Playlist: boolean value
  • Profile: boolean value

Examples

[mixcloud]https://www.mixcloud.com/dottblanchard/dott-blanchard-discovering-music/[/mixcloud]

[mixcloud height="100" width="400"]https://www.mixcloud.com/dottblanchard/dott-blanchard-discovering-music/[/mixcloud]

[mixcloud iframe="true"]https://www.mixcloud.com/dottblanchard/dott-blanchard-discovering-music/[/mixcloud]

[mixcloud iframe="false"]https://www.mixcloud.com/dottblanchard/dott-blanchard-discovering-music/[/mixcloud]

[mixcloud]http://www.mixcloud.com/BJT/playlists/bjt-djset/[/mixcloud]

[mixcloud profile="true"]http://www.mixcloud.com/dottblanchard/[/mixcloud]

螢幕截圖

  • Mixcloud player on a post.

安裝

This section describes how to install the plugin and get it working.

  1. Download mixcloud-embed.zip and unzip it.
  2. Upload the folder ‘mixcloud-shortcode’ to the /wp-content/plugins/ directory
  3. Activate the plugin through the ‘Plugins’ menu in WordPress
  4. Place [mixcloud]link goes here[/mixcloud] in your post or page

常見問題

The Mixcloud Embed plugin allows you to embed the Mixcloud player to your WordPress blog or page.

評價

2016年9月3日
Throws the following notice upon install: Notice: The called constructor method for WP_Widget in MixcloudEmbedWidget is deprecated since version 4.3.0! Use __construct() instead. in /Users/evanbyrne/sites/ftd/wp-includes/functions.php on line 3718
閱讀全部10個評價

貢獻者及開發者

“Mixcloud Embed” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Mixcloud Embed 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

2.2.0

  • Manage the code copy&paste from mixcloud

2.1.0

  • Manage a AHREF at the cloudcast url

2.0.2

  • Fixed a problem with the variabile default of player

2.0.1

  • Fixed an error when I save a default options of player

2.0.0

  • Update the new version of share code
  • Remove the retrieve playlist because the iframe object retrive also

1.7.2

  • Error a current version

1.7.1

  • Fix a new Author and relative website dedicate to a plugin

1.7

  • Update a plugin with a new embed code from Mixcloud.com
  • Add a new options light, cover, artwork, playlist

1.6.3

  • Fix a bug that closed a <?php tag to the end of the file.

1.6.2

  • Fix a reported bug “Warning: Illegal string offset after updating server to latest PHP 5.4”

1.6.1

  • Fix a reported bug “Doesn’t escape ampersands and breaks XML (RSS)”

1.6

  • Fix some bug and add the button to tinymce

1.5.1

  • Fix a bug with a urlencode of the movie

1.5

  • No changes for the users, but I have do a refactor for the all plugin

1.4.2

  • Fixed an idiot bug

1.4.1

  • Added the possibility to embed an entire playlist.

1.4

  • The cloudcast profile was trasformed in a widget for a widget bar

1.3

  • View a cloudcast profile information

1.2.1

  • Fix bug on the logic of enabled/disabled parameters

1.2

  • Added the function to retrieve a playlist

1.1

  • Setting a default value from admin menu

1.0.2

  • Fix a readme text

1.0

  • First version