前言介紹
- 這款 WordPress 外掛「Spreaker Shortcode」是 2011-11-22 上架。
- 目前有 5000 個安裝啟用數。
- 上一次更新是 2024-09-16,距離現在已有 230 天。
- 外掛最低要求 WordPress 2.5.0 以上版本才可以安裝。
- 有 9 人給過評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
spreaker |
外掛標籤
audio | embed | widget | spreaker | shortcode |
內容簡介
The Spreaker shortcode外掛是將Spreaker音訊播放器嵌入WordPress博客的簡單方法,適用於任何Spreaker的集數、節目或使用者。安裝此外掛後,它將適用於您的所有博客文章。
簡單的示例:
[spreaker type=player resource="episode_id=3331356"]
更多選項:
Spreaker shortcode需要play資源,只能是以下之一:
- resource="episode_id=X":嵌入的集數id。
- resource="show_id=X":將顯示最新集數的節目id。
- resource="show_key=X":嵌入的私人節目金鑰。
- resource="user_id=X":將顯示最新集數的使用者id。
此外掛還支援以下可選參數:
- width:播放器的寬度 - 可以是%或px(例如100%或400px)。
- height:播放器的高度 - 可以是%或px(例如100%或400px)。
- theme:播放器的UI主題。支援的主題有:light(默認)和dark。
- color:播放器的主要顏色。支援的色彩格式有短和長的十六進位值(如:F00或FF0000)。此功能需要播客作者訂閱Station方案或以上方案。
- cover:以HTTPS格式顯示為播放器背景的圖片的URL。
- playlist:配置播放清單應如何構建。可以使用“playlist =“false””禁用播放清單,“playlist =“user””顯示所有使用者的集數或“playlist =“show””顯示所有節目的集數。默認行為取決於資源。只有當播放器高度大於200px時,播放清單才可見。
- playlist-continuous:啟用或禁用播放清單連續播放。當為true時,它會連續播放播放清單中的所有集數,直到結束。
- playlist-loop:啟用或禁用連續播放時循環播放清單。當啟用播放清單連續播放時為true,它將持續播放播放清單(默認為false)。
- playlist-autoupdate:啟用或禁用新集數發布時的播放清單自動更新。此功能默認啟用。
- chapters-image:啟用或禁用播放器中條目圖像的顯示(默認為true)。
- episode-image-position:當為right或left時,在右側或左側顯示條目圖像(默認為right)。
- hide-likes:當為true時,播放器中不顯示“喜歡”按鈕(默認為false)。
- hide-comments:當為true時,播放器中不顯示“評論”按鈕(默認為false)。
- hide-sharing:當為true時,播放器中不顯示“分享”按鈕(默認為false)。
- hide-logo:當為true時,播放器中不顯示Spreaker標誌(默認為false)。此功能需要播客作者訂閱Broadcaster方案或以上方案。
- hide-episode-description:當為true時,不顯示打開當前集數說明的按鈕(默認為true)。
原文外掛簡介
The Spreaker shortcode plugin is an easy way to embed Spreaker audio player into your WordPress blog. It works for any Spreaker episode, show, or user. Once you install this plugin, it will work on all of your blog posts.
A simple example:
[spreaker type=player resource="episode_id=3331356"]
More Options
Spreaker shortcode requires the resource play. It can be only of the following:
resource="episode_id=X": id of the episode to embed.
resource="show_id=X": id of the show, whose latest episode should be displayed.
resource="show_key=X": private key of the show to embed.
The plugin also supports the following optional parameters:
width: player’s width – can be in % or px (ie. 100% or 400px).
height: player’s height – can be in % or px (ie. 100% or 400px).
theme: player’s UI theme. Supported themes are: light (default) and dark.
color: player’s main color. Supported fromats are short and long hex values (ie: F00 or FF0000). This feature requires the podcast author to subscribe to Station plan or above.
cover: HTTPS url of an image to display as player’s background.
playlist: configures how the playlist should be built. It can be playlist="false" to disable the playlist or playlist="show" to display all show’s episodes in the playlist. The default behavious depends on resource. The playlist is visible only if the player height is greater than 200px.
playlist-continuous: enables or disables the playlist continuous playback. When true it continuously plays all episodes in the playlist until the end.
playlist-loop: enables or disables loop playlist playback when continuous playback is enabled. When true and playlist continuous playback is enabled as well, it will loop the playlist continuously (defaults to false).
playlist-autoupdate: enables or disables the playlist autoupdate, when a new episode is published. This feature is enabled by default.
chapters-image: enables or disables the display of chapters images in the player (defaults to true).
episode-image-position: when right or left shows the episode image on the right or left (defaults to right)
hide-likes: when true the likes button is not displayed in the player (defaults to false)
hide-comments: when true the comments button is not displayed in the player (defaults to false)
hide-sharing: when true the share button is not displayed in the player (defaults to false)
hide-logo: when true the Spreaker logo is not displayed in the player (defaults to false). This feature requires the podcast author to subscribe to Broadcaster plan or above.
hide-episode-description: when true the button to open the description of the current episode is not displayed in the player (defaults to false)
hide-playlist-descriptions: when true the button to open the description of episodes in the playlist is not displayed in the player (defaults to false)
hide-playlist-images: when true the images of episodes in the playlist are not displayed in the player (defaults to false)
hide-download: When true, it hides the episode download button (defaults to true)
How to get the shortcode
Play any track on www.spreaker.com and then click on the share button in the player (bottom-right corner): you can customize the appearance of the player and get the shortcode to copy and paste to your WordPress blog.
Help
If you need further help, please contact us at help.spreaker.com.
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Spreaker Shortcode」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
1.0 | 1.2 | 1.2.1 | 1.2.2 | 1.2.4 | 1.2.5 | 1.3.0 | 1.3.1 | 1.3.2 | 1.3.3 | 1.3.4 | 1.3.5 | 1.3.6 | 1.3.7 | 1.4.0 | 1.4.1 | 1.5.0 | 1.6.0 | 1.7.0 | 1.7.1 | 1.7.2 | 1.7.3 | 1.7.4 | 1.7.5 | 1.7.6 | 1.7.7 | 1.7.8 | 1.7.9 | 1.8.0 | 1.8.1 | 1.8.2 | 1.8.3 | trunk | 1.7.10 |
延伸相關外掛(你可能也想知道)
WP Shortcodes Plugin — Shortcodes Ultimate 》Shortcodes Ultimate 是一個全面的視覺與功能性元素收集,您可以在文章編輯器、文字小工具甚至是範本檔案中使用。使用 Shortcodes Ultimate,您可以輕鬆地建...。
MW WP Form 》MW WP Form 可以使用 shortcode 創建帶有確認畫面的郵件表單。, , 使用 shortcode 創建表單, 可以使用確認頁面。, 頁面可以使用相同的 URL 或個別的 URL 進行...。
Shortcoder — Create Shortcodes for Anything 》Shortcoder 外掛可讓您建立 HTML、JavaScript、CSS 和其他代碼片段的自訂捷徑。現在,這些捷徑可以在文章/頁面中使用,並且該片段將取代其位置。, ✍ 輕鬆建立...。
Display Posts – Easy lists, grids, navigation, and more 》Display Posts 讓您輕鬆地列出網站上的所有內容。首先在內容編輯器中新增此短碼,以列出最近的文章清單:, [display-posts], , 按類別篩選, 若只想顯示特定類...。
Widget Shortcode 》這個短碼需要小工具的ID,但不需要猜測,外掛會為你生成代碼。如果你想要覆蓋小工具的標題,你可以使用 "title" 參數:, [widget id=”text-1″...。
Woody code snippets – Insert Header Footer Code, AdSense Ads 》需要專業的支援嗎?, 免費獲取支援, 開始獲得高級支援, , 停止反覆使用相同的內容!, 停止插入 function.php 中的 PHP 代碼!, 停止將 Google Analytics、Yan...。
Column Shortcodes 》此外掛提供簡單易用的短碼,在您的文章或頁面中輕鬆創建欄位。有時候,您只需要將網頁切成不同的欄位。使用此外掛,您只需選擇一個欄位的短碼,便可將欄位加...。
amr shortcode any widget 》使用shortcode將小工具或多個小工具或整個小工具區域(側邊欄)插入到頁面中。, 首先在正常的側邊欄中設置小工具。 檢查它是否正常運作。, 然後將所選小工具...。
Shortcode in Menus 》此外掛讓你可以在 WordPress 導覽選單中使用簡碼,以便可以動態生成連結。也可以讓你在導覽選單中添加完整的 HTML 段落。, 使用方法, 查看截圖。, 另外,查看...。
Sidebar Widgets by CodeLights 》❗ 很抱歉,由於 SiteOrigin 的 widgets API 完全更改,CodeLights 不再支援 SiteOrigin Page Builder 的原生使用。解決方案:您仍然可以在純文字編輯器中創...。
Advanced iFrame 》看起來您正在尋找一個 WordPress 外掛 - Advanced iFrame Pro。這個外掛可讓您使用 iframe 包含其他網頁到您的網站中,同時具有隱藏和修改元素、自動調整高度...。
Insert Pages 》Insert Pages 可讓您使用 Shortcode API,將任何 WordPress 內容(例如,頁面、文章、自訂文章類型)嵌入其他 WordPress 內容。它還包括一個小工具,可將頁面...。
Shortcodes by Angie Makes 》Shortcodes by Angie Makes 外掛為您的 WordPress 主題新增一系列易於使用的短碼,這些短碼與 Angie Makes WordPress 主題 完美搭配。, 範例, 請到此查看這些...。
Team Members 》這個外掛會為管理員面板增加一個「團隊」區塊,讓您可以輕鬆地在網站上展示您的員工/職員。您可以快速地將成員加入您的團隊,加入他們的照片、職位、個人簡介...。
Post Snippets – Custom WordPress Code Snippets Customizer 》, 建立自訂短碼和可重複使用的內容,並將它們插入到您的文章和頁面中。, , 此外掛讓您建立 HTML、PHP 程式碼或常用文字片段的庫。在文章和頁面中,您可以使用...。