WordPress.org

Ready to get started?Download WordPress

Plugin Directory

VideoZen

VideoZen is fully compatible with Standard WordPress (non-multisite) and WordPress Multisite. The integrated plugin for play and encode videos.

  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 and Amazon S3 account.

  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.

Requires: 3.3 or higher
Compatible up to: 3.5.2
Last Updated: 2013-1-25
Downloads: 597

Ratings

0 stars
0 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,2,2