[WordPress] 外掛分享: SPAREVIDEOS

首頁外掛目錄 › SPAREVIDEOS
⚠ 此外掛已下架 — 不再更新維護,建議勿安裝。
全新外掛
安裝啟用
尚無評分
2977 天前
最後更新
問題解決
WordPress 4+ v0.1.1 上架:2017-07-10

內容簡介

此外掛連接 SpareVideos.com 影片 CDN 的基本功能。

關於

SpareVideos

此外掛包含以下 API 功能:

從 URL 或本機檔案上傳
初始化轉換
當轉換完成時,接收 Webhook 通知
縮圖和更新
嵌入式串流代碼方法

未包含的功能

從 Dropbox 上傳,在 SpareVideos 界面上我們通常支援
從 API 取得簽署的可串流 URL 的自訂播放器設置

如何操作

在打開 SpareVideos.com 帳戶後,安裝並啟用此外掛,複製並填寫外掛的設定頁面中的 API 憑證。

從您的媒體管理員開始上傳和嵌入視頻,並授權特定角色也使用該外掛

而非嵌入在文章和頁面中,您也可以使用 “製作影片頁面” 按鈕將影片設定在頁面/文章的 meta 標記中。

然後,在任何樣板中使用以下 PHP 代碼顯示選擇的播放器和視頻:

echo do_shortcode(‘[sparevideos]’);

關於 “製作影片頁面”

選擇在該篇文章/頁面上傳的影片時,您會有額外的選項/按鈕,即 "製作影片頁面",它會將所選的影片放置在文章/頁面的 meta 標記中。將短碼文本轉換為 JavaScript 代碼(插入視頻播放器)的篩選器不適用於保存在 meta 標記中的影片。而上面提到的 PHP 代碼會在選定的位置中取得在 meta 中儲存的影片,並將其轉換為嵌入式播放器。

外掛標籤

開發者團隊

⬇ 下載最新版 (v0.1.1) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「SPAREVIDEOS」→ 直接安裝(推薦)

原文外掛簡介

This plugin connects the basic functionality of the API of SpareVideos.com Video CDN.
About
SpareVideos
The following functionality of the API is included:

Upload from URL or Local file
Initialize Convertion
Receive Webhook when conversion completes
Thumbnails and update
Embeded code method of streaming

Not included

Upload from Dropbox which we normally support in SpareVideos UI
Custom player setup fetching signed streamable URLs from the API

How to

Install and activate the plugin after you open an account with SpareVideos.com Copy and fill in the settings page of the plugin with the API credentials

Start uploading and embedding videos from your Media Manager and give access to specific roles to also use the plugin

Instead of embedding in posts and pages you can also use the “Make Video Page” button to set the video in the meta tags of the page/post.

Then use the following PHP code anywhere in the template to show the player with the video you selected to Make Video Page:

echo do_shortcode(‘[sparevideos]’);
About “Make Video Page”
By selecting a video (uploaded in THAT specific post/page) you have an extra option/button, that of “Make Video Page”, which puts the selected video in the meta tags of the post/page. The filter which converts shortcodes in text into javascript code (embedding video player in other words) doesn’t work for the video saved in meta tags. What embeds the video player into the selected position in the template instead, is the php code here above mentioned. That code fetched the video sved in metas and converts it to embedded player in that position.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon