Title: VideoZen
Author: Jose Conti
Published: <strong>2013-01-22</strong>
Last modified: 2013-01-25

---

Szukaj wtyczek

![](https://ps.w.org/videozen/assets/banner-772x250.png?rev=657049)

Wtyczka **nie została przetestowana z trzema ostatnimi głównymi wydaniami WordPressa**.
Może nie być już utrzymywana lub obsługiwana, co może skutkować problemem ze zgodnością
z nowszymi wersjami WordPressa.

![](https://s.w.org/plugins/geopattern-icon/videozen_5c7dc1.svg)

# VideoZen

 Autor: [Jose Conti](https://profiles.wordpress.org/jconti/)

[Pobierz](https://downloads.wordpress.org/plugin/videozen.1.0.1.zip)

 * [Szczegóły](https://pl.wordpress.org/plugins/videozen/#description)
 * [Recenzje](https://pl.wordpress.org/plugins/videozen/#reviews)
 *  [Instalacja](https://pl.wordpress.org/plugins/videozen/#installation)
 * [Rozwój](https://pl.wordpress.org/plugins/videozen/#developers)

 [Wsparcie](https://wordpress.org/support/plugin/videozen/)

## Opis

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.

## Instalacja

 1. Upload the „videozen” folder to the „/wp-content/plugins/” directory, or download
    through the „Plugins” menu in WordPress
 2. Activate the plugin through the „Plugins” menu in WordPress. Network activate for
    Multisite or site by site:

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

At this point, you will need an [Zencoder account](http://zencoder.com/) and [Amazon S3 account](http://aws.amazon.com/s3/).

 1. Create a S3 Bucket
 2. Add this policy to the Bucket:

If you dont need to protect from hotlinking use this policy(Please, remplace YOURBUCKETNAME
with your bucket name) :

    ```
    {
        "Version": "2008-10-17",
        "Id": "ZencoderBucketPolicy",
        "Statement": [
            {
                "Sid": "Stmt1295042087538",
                "Effect": "Allow",
                "Principal": {
                    "AWS": "arn:aws:iam::395540211253:root"
                },
                "Action": [
                    "s3:PutObjectAcl",
                    "s3:GetObject",
                    "s3:ListMultipartUploadParts",
                    "s3:PutObject"
                ],
                "Resource": "arn:aws:s3:::YOURBUCKETNAME/*"
            },
            {
                "Sid": "Stmt1295042087538",
                "Effect": "Allow",
                "Principal": {
                    "AWS": "arn:aws:iam::395540211253:root"
                },
                "Action": [
                    "s3:ListBucketMultipartUploads",
                    "s3:GetBucketLocation"
                ],
                "Resource": "arn:aws:s3:::YOURBUCKETNAME"
            },
            {
                "Sid": "3",
                "Effect": "Allow",
                "Principal": {
                    "AWS": "arn:aws:iam::cloudfront:user/CloudFront Origin Access Identity E323DPV2F48RSG"
                },
                "Action": "s3:GetObject",
                "Resource": "arn:aws:s3:::YOURBUCKETNAME/*"
            }
        ]
    }
    ```

If you want to protect from hotlinking, add this policy (Please, remplace YOURBUCKETNAME
with your bucket name and yourdomain.com for your domain website) :

    ```
    {
        "Version": "2008-10-17",
        "Id": "ZencoderBucketPolicy",
        "Statement": [
            {
                "Sid": "Stmt1295042087538",
                "Effect": "Allow",
                "Principal": {
                    "AWS": "arn:aws:iam::395540211253:root"
                },
                "Action": [
                    "s3:PutObjectAcl",
                    "s3:GetObject",
                    "s3:ListMultipartUploadParts",
                    "s3:PutObject"
                ],
                "Resource": "arn:aws:s3:::YOURBUCKETNAME/*"
            },
            {
                "Sid": "Stmt1295042087538",
                "Effect": "Allow",
                "Principal": {
                    "AWS": "arn:aws:iam::395540211253:root"
                },
                "Action": [
                    "s3:ListBucketMultipartUploads",
                    "s3:GetBucketLocation"
                ],
                "Resource": "arn:aws:s3:::YOURBUCKETNAME"
            },
            {
                "Sid": "3",
                "Effect": "Allow",
                "Principal": {
                    "AWS": "arn:aws:iam::cloudfront:user/CloudFront Origin Access Identity E323DPV2F48RSG"
                },
                "Action": "s3:GetObject",
                "Resource": "arn:aws:s3:::YOURBUCKETNAME/*"
            },
            {
                "Sid": "2- Allow all referrers to xyz.htm except those listed.",
                "Effect": "Deny",
                "Principal": {
                    "AWS": "*"
                },
                "Action": "s3:GetObject",
                "Resource": "arn:aws:s3:::YOURBUCKETNAME/*",
                "Condition": {
                    "StringNotLike": {
                        "aws:Referer": [
                            "http://www.yourdomain.com/*",
                            "http://yourdomain.com/*",
                            "http://www.google.com/reader/*"
                        ]
                    }
                }
            }
        ]
    }
    ```

If you want to protect from hotlinking and allow direct downloads, add this policy(
Please, remplace YOURBUCKETNAME with your bucket name and yourdomain for your domain
website) :

    ```
    {
        "Version": "2008-10-17",
        "Id": "ZencoderBucketPolicy",
        "Statement": [
            {
                "Sid": "Stmt1295042087538",
                "Effect": "Allow",
                "Principal": {
                    "AWS": "arn:aws:iam::395540211253:root"
                },
                "Action": [
                    "s3:PutObjectAcl",
                    "s3:GetObject",
                    "s3:ListMultipartUploadParts",
                    "s3:PutObject"
                ],
                "Resource": "arn:aws:s3:::YOURBUCKETNAME/*"
            },
            {
                "Sid": "Stmt1295042087538",
                "Effect": "Allow",
                "Principal": {
                    "AWS": "arn:aws:iam::395540211253:root"
                },
                "Action": [
                    "s3:ListBucketMultipartUploads",
                    "s3:GetBucketLocation"
                ],
                "Resource": "arn:aws:s3:::YOURBUCKETNAME"
            },
            {
                "Sid": "3",
                "Effect": "Allow",
                "Principal": {
                    "AWS": "arn:aws:iam::cloudfront:user/CloudFront Origin Access Identity E323DPV2F48RSG"
                },
                "Action": "s3:GetObject",
                "Resource": "arn:aws:s3:::YOURBUCKETNAME/*"
            },
            {
                "Sid": "2- Allow all referrers to xyz.htm except those listed.",
                "Effect": "Deny",
                "Principal": {
                    "AWS": "*"
                },
                "Action": "s3:GetObject",
                "Resource": "arn:aws:s3:::YOURBUCKETNAME/*",
                "Condition": {
                    "StringNotLike": {
                        "aws:Referer": [
                            "http://www.yourdomain.com/*",
                            "http://yourdomain.com/*",
                            "http://www.google.com/reader/*"
                        ]
                    },
                    "Null": {
                        "aws:Referer": false
                    }
                }
            }
        ]
    }
    ```

5.- Add all data on VideoZen configuration page or add `define` to `wp-config.php`

 1. Updates are automatic. Click on „Upgrade Automatically” if prompted from the admin
    menu. If you ever have to manually upgrade, simply deactivate, uninstall, and repeat
    the installation steps with the new version.

## Najczęściej zadawane pytania

No Frequently Asked Questions at this time

## Recenzje

Wtyczka nie ma jeszcze żadnej recenzji.

## Kontrybutorzy i deweloperzy

„VideoZen” jest oprogramowaniem open source. Poniższe osoby miały wkład w rozwój
wtyczki.

Zaangażowani

 *   [ Jose Conti ](https://profiles.wordpress.org/jconti/)

[Przetłumacz wtyczkę “VideoZen” na swój język.](https://translate.wordpress.org/projects/wp-plugins/videozen)

### Interesuje cię rozwój wtyczki?

[Przeglądaj kod](https://plugins.trac.wordpress.org/browser/videozen/), sprawdź 
[repozytorium SVN](https://plugins.svn.wordpress.org/videozen/) lub czytaj [dziennik rozwoju](https://plugins.trac.wordpress.org/log/videozen/)
przez [RSS](https://plugins.trac.wordpress.org/log/videozen/?limit=100&mode=stop_on_copy&format=rss).

## Rejestr zmian

#### 1.0.1 – 25 January 2013

 * Added define(„CONST_ZENCODER_BASE_URL”, „https://app.zencoder.com/api/v2”); prompted
   by [Matt McClure ](https://twitter.com/matt_mcclure) Thank’s a lot.
 * Some some UI improvements. prompted by [Matt McClure ](https://twitter.com/matt_mcclure)
   Thank’s a lot.

#### 1.0.0 – 21 January 2013

 * Initial Release

## Meta

 *  Wersja **1.0.1**
 *  Ostatnia aktualizacja **13 lat temu**
 *  Włączone instalacje **10+**
 *  Wersja WordPressa ** 3.3 lub nowszej **
 *  Testowano do **3.5.2**
 *  Język
 * [English (US)](https://wordpress.org/plugins/videozen/)
 * Tagi
 * [HTML5](https://pl.wordpress.org/plugins/tags/html5/)[video](https://pl.wordpress.org/plugins/tags/video/)
   [videojs](https://pl.wordpress.org/plugins/tags/videojs/)
 *  [Widok zaawansowany](https://pl.wordpress.org/plugins/videozen/advanced/)

## Oceny

Nie przesłano jeszcze żadnych recenzji.

[Your review](https://wordpress.org/support/plugin/videozen/reviews/#new-post)

[Zobacz wszystkierecenzje.](https://wordpress.org/support/plugin/videozen/reviews/)

## Zaangażowani

 *   [ Jose Conti ](https://profiles.wordpress.org/jconti/)

## Wsparcie

Masz coś do dodania? Potrzebujesz pomocy?

 [Zobacz forum wsparcia](https://wordpress.org/support/plugin/videozen/)