[WordPress] 外掛分享: Silverstream TV Video Embed

首頁外掛目錄 › Silverstream TV Video Embed
10+
安裝啟用
尚無評分
144 天前
最後更新
問題解決
WordPress 3.6.0+ PHP 5.3+ v1.0.0 上架:2019-05-18

內容簡介

此外掛提供短碼功能,可嵌入 Silverstream TV 媒體播放器。透過這些短碼,您可以在文章或頁面中輕鬆地嵌入 Silverstream TV 主機上的各種媒體內容,包括視頻、音頻、直播和簡報。

基本用法

最基本的示例:
[sstv_video media=]
將其中的 替換為媒體的 ID 字串,該 ID 字串可以在 URL 的末尾找到。

例如,具有此 URL https://video.silverstream.tv/view/pqz4cPvk 的視頻可以使用以下短碼嵌入:
[sstv_video media=pqz4cPvk]

進階用法

還支援幾個選擇性的屬性,可讓您自定義播放器的大小及其他行為。

屬性
必填
說明
範例

media
必填
Video.Silverstream 媒體 ID
pqz4cPvk

width
選填
播放器寬度(像素)
640

height
選填
播放器高度(像素),如留空,則從長寬比計算出高度
360

aspect_ratio
選填
長寬比
1.7777 (16:9)

extra_height
選填
經長寬比計算後,要添加的額外高度(像素)
120

controls
選填
設為 0 以禁用控件
1

autoplay
選填
設為 1 以啟用自動播放
0

loop
選填
設為 1 以啟用循環播放
0

subtitles
選填
設為 1 以強制顯示字幕
0

hide_share
選填
設為 1 以隱藏共享按鈕
0

time
選填
從指定秒數開始播放視頻,而非從頭開始
15

js_control
選填
設為 1 以啟用播放器的其他 JavaScript 控件
0

以下是這種用法的示例:
[sstv_video media=pqz4cPvk width=1280 height=720 autoplay=1]

此外,還可使用[sstv_presentation media=pqz4cPvk]嵌入簡報。

外掛標籤

開發者團隊

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

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

原文外掛簡介

Adds shortcode support for embedding Silverstream TV media players. Shortcodes can be included in your posts and pages to quickly and easily embed Silverstream TV hosted content such as video, audio, live streams and presentations.
Basic Usage
Most basic example:
[sstv_video media=\]
with \ substituted for the media’s ID string which can be found at the end of URLs
For example a video with this URL https://video.silverstream.tv/view/pqz4cPvk can be embedded with:
[sstv_video media=pqz4cPvk]
Advanced Usage
Several other optional attributes are supported to allow you to customise the size of the player as well as different behaviours.
Attribute Required Description Example value
media Required Video.Silverstream Media ID pqz4cPvk
width Optional player width in px 640
height Optional player height in px, if left blank, height is calculated from aspect ratio 360
aspect_ratio Optional ratio between width and height 1.7777 (16:9)
extra_height Optional additional height in px to be added after aspect ratio calculation 120
controls Optional Set to 0 to disable controls 1
autoplay Optional Set to 1 to enable autoplay 0
loop Optional Set to 1 to enable looping 0
subtitles Optional Set to 1 to force subtitles on 0
hide_share Optional Set to 1 to hide the share button 0
time Optional Start the video playing a number of seconds in rather than the start 15
js_control Optional Set to 1 to enable additional JavaScript controls for the player 0

An example of this might be
[sstv_video media=pqz4cPvk width=1280 height=720 autoplay=1]
Additionally [sstv_presentation media=pqz4cPvk] can be used for presentations.

延伸相關外掛

文章
Filter
Mastodon