[WordPress] 外掛分享: VideoZen

首頁外掛目錄 › VideoZen
WordPress 外掛 VideoZen 的封面圖片
⚠ 此外掛已下架 — 不再更新維護,建議勿安裝。
10+
安裝啟用
尚無評分
4844 天前
最後更新
問題解決
WordPress 3.3+ v1.0.1 上架:2013-01-21

內容簡介

VideoZen 是一個整合 VideoJS 播放器、Zencoder.com 和 Amazon S3 服務的外掛。

透過 VideoZen,您可以將自主托管的影片放在 WordPress 或 WordPress 多站台上,只要啟用外掛、在 Amazon S3 和 Zencoder 註冊帳戶、上傳影片至媒體庫,然後在頁面或文章中加入 WordPress 簡單的短碼即可。

當頁面或文章被檢視時,外掛會建立您需要的一切,提供 Amazon S3 中可以在任何瀏覽器、平板電腦或行動裝置上播放的影片格式,並且有 Flash 候補機制。

此外,這個外掛也支援 VTT 字幕格式,這是標準的 HTML5 字幕格式,只需上傳至 WordPress 媒體庫,並且以顯示外掛的名稱命名,就會自動插入影片中。

現有的短碼如下:

簡單的短碼會顯示原始尺寸的影片

[VIDEOZEN:id_media]

以寬度為準的短碼,高度會自動計算:

[VIDEOZEN:id_media W:234]

全面規定寬度和高度的短碼:

[VIDEOZEN:id_media W:234 H:120]

此外,該外掛與 WordPress 和 WordPress Multisite 兼容。

在 WordPress 多站台上,可以有不同的啟用方式。

對於 Network:VideoZen 將在整個網絡上啟用,並可以從 Network 菜單進行配置。所有網站都可以訪問此外掛程式,並且可以上傳影片。
站點對站點:逐個站點進行配置。
站點對站點的全局設置:可選擇站點來進行設置,並在 wp-config.php 文件中使用 DEFINES 集。

要在 wp-config.php 文件中設置全局配置,請添加以下 defin:

define("CONST_VIDEOZEN_USE_DEFINES", TRUE);
define("CONST_VIDEOZEN_API_KEY", "123ag");//ZenCoder API 金鑰
define("CONST_VIDEOZEN_BUCKET", "bucketname");//不包含 S3:// 前綴
define("CONST_VIDEOZEN_S3WEB", "s3.amazonaws.com/bucket");//訪問 Amazon S3 存儲桶的 URL,不包含 http:// 前綴
define("CONST_VIDEOZEN_AUTH", "31415926abc123ABC");//您的網站和 Zencoder 之間的秘密驗證碼,請使用一個隨機的字母和數字字符串,大於 16 個字符
define("CONST_VIDEOZEN_LANG", "en|English\nes|Spanish");//可用語言,每種語言的格式都應為 "code|語言名稱",必須使用雙引號,使用 \n(換行)分隔多種語言,例如:"en|英語\nes|西班牙語"

對於希望為多站常用者提供免費或付費視頻服務的 WordPress 多站點,全局配置非常有用。

外掛標籤

開發者團隊

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

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

原文外掛簡介

VideoZen is an integrated plugin using VideoJS player, Zencoder.com and Amazon S3 services.
By VideoZen, put Self hosted video on your WordPress or WordPress multisite, be as simple as activating the plugin, get an account at Amazon S3 and Zencoder, upload a video in Media and put a simple WordPress shortcode in a page or post.
When the page or post is viewed, the plugin will build everything you need with all the videos formats needed to be reproduced in any browser, tablet or mobile from Amazon S3. And with Flash fallback.
The Plugin also supports subtitles type VTT, which are the standard HTML5 . Just have to upload it to WordPress media with the name that indicate you the plugin and will be automatically inserted into the video.
The existing Shortcode are:
Simple shortcode will display the original size of the video
[VIDEOZEN: id_media]

Shortcode for the width, the height will be calculated automatically:
[VIDEOZEN: id_media W:234]

Shortcode full specified width and height:
[VIDEOZEN: id_media W:234 H:120]

The plugin is compatible with WordPress and WordPress Multisite.
On WordPress Multisite, can be activated in different ways.

For the Network: VideoZen be activated for the entire network and can be configured from the Network menu. All sites have access to the plugin and can upload videos.
Site by site: Site by site and add different configurations on each site.
Site by site with global settings: Selectable site by site and use DEFINES sets in the file wp-config.php

The define to add in the wp-config.php file to configure as globally are the following:
define("CONST_VIDEOZEN_USE_DEFINES" , TRUE);
define("CONST_VIDEOZEN_API_KEY" , "123ag"); //ZenCoder API key
define("CONST_VIDEOZEN_BUCKET" , "bucketname"); //do not include the s3:// prefix
define("CONST_VIDEOZEN_S3WEB" , "s3.amazonaws.com/bucket"); //URL to access via web the Amazon S3 bucket, do not include the http:// prefix
define("CONST_VIDEOZEN_AUTH" , "31415926abc123ABC"); //Secret passphrase between your site and zencoder, use a random letters and number string larger than 16 characters
define("CONST_VIDEOZEN_LANG" , "en|English\nes|Spanish"); // Available languages, each language should be formatted as "code|language name", MUST USE DOUBLE QUOTES, separate multiple languages using \n (carriage return), eg: "en|English\nes|Spanish"

The global configuration is very interesting for WordPress Multisite sites that want to offer free or paid video service for network sites.

文章
Filter
Apply Filters
Mastodon