[WordPress] 外掛分享: SoundCloud Shortcode

首頁外掛目錄 › SoundCloud Shortcode
WordPress 外掛 SoundCloud Shortcode 的封面圖片
5,000+
安裝啟用
★★★★
4.5/5 分(23 則評價)
720 天前
最後更新
問題解決
WordPress 3.1.0+ PHP 5.6+ v4.0.3 上架:2009-07-09

內容簡介

這個外掛可以把所有 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]

外掛標籤

開發者團隊

⬇ 下載最新版 (v4.0.3) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「SoundCloud Shortcode」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

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]

延伸相關外掛

文章
Filter
Apply Filters
Mastodon