
內容簡介
總結:這個外掛讓你可以將來自你的 Peertube 實例的影片添加到你的 WordPress 網站。
1. 問題:如何在 WordPress 網站中顯示最近 x 個影片的清單?
答案:使用 [cbvmfp-list] 短碼來顯示從配置的 Peertube 實例中最近的影片清單。
2. 問題:如何嵌入一個具有獨一無二影片 ID 的 Peertube 影片?
答案:使用 [cbvmfp-show-video id='hmuDCJB9iFMyMG57Dx1s8p'] 短碼來顯示嵌入式的 Peertube 影片。
3. 問題:如何展示最新 x 個影片為嵌入式播放器,而不是連結或縮圖?
答案:使用 [cbvmfp-last-videos] 短碼來顯示最新的 x 個影片作為嵌入式播放器。
4. 問題:如何展示特定 Peertube 頻道中嵌入的影片清單?
答案:使用 [cbvmfp-last-channel-videos] 短碼來展示從特定 Peertube 頻道中嵌入的影片清單。
5. 問題:如何從特定 Peertube 頻道中帶有偏移的影片清單?
答案:使用 [cbvmfp-last-channel-videos offset='2'] 短碼來展示從特定 Peertube 頻道開始於第三個影片的影片清單。
6. 問題:如何展示活動的直播?
答案:如果直播活動處於活躍狀態,您會看到嵌入的直播流,如果直播不活動,則會看到預定圖片或影片。請使用 [cbvmfp-channel-livestream] 短碼。
外掛標籤
開發者團隊
原文外掛簡介
With this plugin you can add videos from your peertube instances into your wordpress website
Available Shortcodes
1. Show a List of the last x Videos
Shows a list of the most recent videos from your configured Peertube instance.
[cbvmfp-list]
2. Embed a Video with id
Displays an embedded Peertube video using its unique video ID.
[cbvmfp-show-video id='hmuDCJB9iFMyMG57Dx1s8p']
3. Show list of x embedded videos
Displays the latest x videos as embedded players instead of links or thumbnails.
[cbvmfp-last-videos]
4. show list of embedde videos from channel y
Displays a list of embedded videos from a specific Peertube channel.
[cbvmfp-last-channel-videos]
Displays a list of embedded videos from a specific Peertube channel with offset
here the list is started with video no. 3 from your channel
[cbvmfp-last-channel-videos offset='2']
5. show random videos
Show x Random embedded Videos
[cbvmfp-random-videos]
Show x Random embedded Videos within the last 7 Days
[cbvmfp-random-videos days='7']
6. show active livestream.
if livestream is active – you see the embeded livestream
if livestream is not active – you see a predefined images or video
[cbvmfp-channel-livestream]
