- User Guide
- How to create playlists
- Video Encoding for HTML 5
- How to use Video Lightbox effect
- How to use YouTube with FV Flowplayer
- How to set up quality switching
- How to use Vimeo Plus/Pro
- Google Video Advertising Options
- How to incorporate Google Ads (AdSense)
- How to use video ads (pre-roll and post-roll)
- Serving Private Videos via CloudFront
- Serving Private Videos with Amazon S3
- Amazon S3 MIME Settings
- How to use Google Analytics with FV Flowplayer
- How to use ads in FV Flowplayer
- VTT Chapters
- How to create subtitles
- How to use RTMP streams with Flash
- Compare WP Video Plugins
- Incompatible Plugins
- VAST/VPAID Ads
- Programmer's Guide
- Video Site Development
Facing a hard to solve WordPress
problem? On a tight deadline?
Let us take care of it for youFoliovision Pro Support
Click-Through on Video
Martin: “Hello Mike, we talked some more about your ideas. Having the autoplayed video…”
Reading the Google Analytics data
Matthew G.: “Got it. Thanks Martin. That helps a…”
FV Flowplayer Default Expiry Time isn't working no matter what I set it to.
Martin: “Hello rayzorg, check if your Wordpress pages are served with the Expires…”
Vimeo video title appearing
Alec: “Hi Chan, I'm very sorry to hear about your issues. We scrupulously follow…”
Screenshot size question
Martin: “Hello smith234, you can just use the same size as the video.…”
Optimizepress 2.0, TinyMCE, FV Worpress Flowplayer
Auto play Ipad mini
Martin: “Hello Seyed, autoplay is not available for mobile devices, as these devices…”
Warning message when I hit "check template"
Martin: “Hello Xenia, if the videos play and you can also pause and…”
Pre-sale question about ads
Alec: “Hi Nept, Thanks for stopping by. It is possible to put a banner…”
Cannot get non-Flash video to work
Martin: “Hello Philip, you file name should be http://dxxxxxxxxxxxx.cloudfront.net/video.mp4 and not http://dxxxxxxxxxxxx.cloudfront.net/bucket-name/video.mp4 as…”
- Click-Through on Video
This article shows you how to:
- Obtain your Amazon AWS access credentials
- Upload files with a proper mime type and set permissions for both public and private access
Obtaining the Amazon AWS access credentials
If you don't want to protect your video against unauthorized downloads, you can skip to the next section of this document.
- First login into your Amazon AWS at https://console.aws.amazon.com/ and then click "IAM - Secure AWS Access Control" in the menu:
- Once the IAM screen opens, go to "Users" -> "Create New Users":
- Enter your IAM user name, make sure "Generate an access key for each User" is on and click "Create":
- Once the user is created, you will see a confirmation window. Click "Show User Security Credentials" in this window, that will shows you the "Access Key ID" and "Secret Access Key":
- Copy these keys and paste them into "FV WordPress Flowplayer Settings" -> "Amazon S3 Protected Content" on your website in a new browser tab. You will also need Amazon bucket name and the location of your bucket which we will create in next section of this guide:
- Now that you have stored the keys, you can go back to your "Create User" dialog and click "Close Window". There will be one more confirmation window - it warns you that it's very important that you store these credentials, as you won't be able to get them later. You will have to create a new set of access keys for the user if you have lost these.
Last step is to make sure this user has read-only access to the files only. Once you close the above window, select your new user from the list, click the "Permissions" tab and "Attach User Policy" button:
Next select the desired permissions. Our player only needs to be able to read the video files, so select "Read Only Access":
Next windows lets you enter custom settings for the policy, just click "Apply":
This is what you will then see in the "Permissions" tab:
That's it. Now the access keys can be used to play private videos from your Amazon S3 account.
Uploading the files and setting their properties
There are tools which allow you to upload these files without using the web browser, but for smaller number of files you can just use the web interface:
- First login into your Amazon AWS at https://console.aws.amazon.com/ and then click "S3" in the menu:
Next you have to create your first bucket where you put your videos:
Select your bucket name (it must be unique), select your location and click "Create":
Once the bucket is created, you need to open it to upload files:
- If you are interested in the file protection, also enter the bucket name an its location into "FV WordPress Flowplayer Settings" -> "Amazon S3 Protected Content" -> "Amazon Bucket". Obtaining the access keys is described in the Obtaining the Amazon AWS access credentials section of this document.
- We check the video length and make sure the link expiration time is big enough for the video to buffer properly.
- If you use a WordPress cache plugin, make sure you set the "Default Expire Time" to twice as much as your cache timeout and check "Force the default expiration time" checkbox. Otherwise the video source URLs in the cached HTML will expire and the videos won't be playable. This way the video duration won't be used for calculation of expiry time.
- If you only use the protected Amazon S3 videos only for your membership section, make sure the cache plugin is turned off for logged in users :
- If you use Hyper Cache, it already excludes logged in members from cache (read why we recommend Hyper Cache over other plugins)
- If you use WP Super Cache, turn on Settings -> WP Super Cache -> Advanced -> "Don’t cache pages for known users."
- If you use W3 Total Cache, make sure Performance -> Page Cache -> "Don't cache pages for logged in users" is on
Once your bucket opens, you will see there are no files yet. You need to click "Upload":
You need to pick the files from your computer and click "Start Upload":
The files starts uploading, you will see a progress bar:
Once the file is uploaded, you will see it in the bucket. Click its name and the open its properties:
In the "Properties" pane, you can see the video URL ("Link" field) and various file properties:
Copy this URL, you will put it into the [fvplayer] shortcode.
- You need to open the Permissions section and make sure "Everyone" is allowed to download and view the file. If it's not so, you can add "Everyone" by clicking"Add more permissions", then selecting "Everyone" from the drop down menu and checking "Open/Download" and "View Permissions". Don't forget to click "Save".
On contrary, if the file needs to remain private, make sure only your account is present in list of permissions and it has all the access. Obtaining the access keys required for playback of private files s described in the Obtaining the Amazon AWS access credentials section of this document.
Last step, double check that the file has the proper Mime type selected. Do so it the "Metadata" tab. This ensures maximum video compatibility. Here are the correct Content-Types (mime types) for various file extensions. It should not be application/octet-stream:
.mp4 video/mp4 .webm video/webm .ogv video/ogg .m3u8 application/x-mpegurl .m4v video/x-m4v
In case your Mime type is not set up properly, please follow our guide.
Fix the Content-Type if needed, save the changes. Now you can finally copy the file URL (see step 10. above) and just put it into our shortcode. Read out basic FV Flowplayer guide to see how to insert videos.
If the video doesn't play, make sure you check it out when you are logged in as admin. You will notice a message in the top left corner of the video. If it's green and "Video OK", it means our video checker found no issues.
Clicking that error reveals error details.
- Access to video forbidden (HTTP 403) - typically means that your video file is private and there are no keys for the bucket. Either make the video public or make sure you setup the access keys.
- The AWS Access Key Id you provided does not exist in our records - means that you provided a bad access key
That's it, the video is up and plays! The video URL is visible in the page HTML, but it's only valid for a short time (depending on your preset default expiry time) , so the video can't be hotlinked.