
內容簡介
這個外掛可以把所有 SoundCloud 的短碼轉換為可嵌入的 SoundCloud 播放器。它適用於任何 SoundCloud 轨道、播放列表、用戶或小組。一旦安裝這個外掛,它就可以在您的任何博客文章中使用。
簡單的例子:
[soundcloud]http://soundcloud.com/forss/flickermood[/soundcloud]
更多選項
SoundCloud 短碼支持以下可選參數:
width
height
params
params 參數通過附加選項來操作 SoundCloud 嵌入的播放器。您可以在 SoundCloud Developers 頁面上找到所有選項的完整列表:http://developers.soundcloud.com/docs/widget
以下是自動播放並且不顯示任何評論的曲目範例:
[soundcloud params="auto_play=true&show_comments=false"]http://soundcloud.com/forss/flickermood[/soundcloud]
外掛標籤
開發者團隊
原文外掛簡介
This plugin converts all SoundCloud shortcodes into embeddable SoundCloud players. It works for any SoundCloud track, playlist, user, or group. Once you install this plugin, it will work for any of your WordPress posts & pages. I mean, sure you could use oEmbed or the snappy new Gutenberg editor to simply paste in a SoundCloud URL; but we like to keep things old-school 😎
A simple example:
[soundcloud]http://soundcloud.com/forss/flickermood[/soundcloud]
More Options
SoundCloud Shortcodes support these optional parameters:
width
height
params
The params parameter passes additional options to the SoundCloud embeddable player. You can find a full list on the SoundCloud Developers pages: https://developers.soundcloud.com/docs/api/html5-widget
An example of a track that starts playing automatically, with hot-pink controls:
[soundcloud params="auto_play=true&color=#F368E0"]http://soundcloud.com/forss/flickermood[/soundcloud]
