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
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.
No Frequently Asked Questions at this time
1.0.1 – 25 January 2013
- Added define(“CONST_ZENCODER_BASE_URL”, “https://app.zencoder.com/api/v2”); prompted by Matt McClure Thank’s a lot.
- Some some UI improvements. prompted by Matt McClure Thank’s a lot.
1.0.0 – 21 January 2013
- Initial Release