前言介紹
- 這款 WordPress 外掛「Silverstream TV Video Embed」是 2019-05-18 上架。
- 目前有 20 個安裝啟用數。
- 上一次更新是 2023-04-06,距離現在已有 766 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
- 外掛最低要求 WordPress 3.6.0 以上版本才可以安裝。
- 尚未有人給過這款外掛評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
外掛標籤
sstv | sstv_video | silverstream | silverstreamtv | silverstream tv |
內容簡介
此外掛提供短碼功能,可嵌入 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]嵌入簡報。
原文外掛簡介
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.
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Silverstream TV Video Embed」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
1.0 |
延伸相關外掛(你可能也想知道)
Simple Silverstream TV Shortcodes 》這是一個簡單的非官方外掛程式,可用於嵌入Silverstream TV影片。, 讓您能夠在文章中使用 [silverstream] 短碼。這在 WordPress 多站架站點中會很有用,因為...。