[WordPress] 外掛分享: Simple Silverstream TV Shortcodes

首頁外掛目錄 › Simple Silverstream TV Shortcodes
10+
安裝啟用
尚無評分
3470 天前
最後更新
問題解決
WordPress 2.5.0+ v1.4 上架:2014-09-16

內容簡介

這是一個簡單的非官方外掛程式,可用於嵌入Silverstream TV影片。

讓您能夠在文章中使用 [silverstream] 短碼。這在 WordPress 多站架站點中會很有用,因為預防了 iframe 和 script 標籤的使用。

短碼使用方式

範例:
[silverstream video_key=”12345″ player_key=”abcdef”]

若要載入特製播放器,只需在 ‘silverstream.tv/’ 右側輸入網址即可。
例如:http://silverstream.tv/istream_rts 就變成:
[silverstream bespoke_player=”istream_rts” width=”580px”]

屬性:

video_key:嵌入的影片 iframe ID(可選)
player_key:Silverstream player 金鑰(必填)
bespoke_player:指向存儲在Silverstream 伺服器上的影片路徑。用於載入客戶品牌的影片(可選)
width:iframe 的寬度(可選,預設值為853px)
height:iframe 的高度(可選,預設值為480px)

width 和 height 屬性應包括度量單位(例如:px,%,em)

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.4) 或搜尋安裝

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

原文外掛簡介

A simple unofficial plugin to embed Silverstream TV videos.
Allows you to use the [silverstream] shortcode in your posts. This is useful
with WordPress multisite installs that prevent iframe and script tags.
Shortcode Usage
Example:
[silverstream video_key=”12345″ player_key=”abcdef”]
To load the bespoke player at just enter the URL to the right of the ‘silverstream.tv/’
So http://silverstream.tv/istream_rts becomes:
[silverstream bespoke_player=”istream_rts” width=”580px”]
Attributes:

video_key the iframe ID the video that you want to embed (optional)
player_key the Silverstream player key (required)
bespoke_player path to the video on Silverstream’s server. Used to load client branded videos (optional)
width the width of the iframe (optional, default is 853px)
height the height of the iframe (optional, default is 480px)

The width and height attributes should include the metric (e.g. metric, e.g. px, %, em)

延伸相關外掛

文章
Filter
Apply Filters
Mastodon