• Skip to content
  • Skip to primary sidebar
  • Skip to footer

Foliovision

Main navigation

  • Weblog
    • FV Player
    • WordPress
    • Video of the Week
    • Case Studies
    • Business
  • About
    • Testimonials
    • Meet the Team
    • We Support
    • Careers
    • Contact
    • Pricing
  • Products
  • Support
    • FV Player Docs
    • Pro Support
  • Login
  • Basket is empty

CloudFront video not playing

[Solved]

Foliovision › Forums › FV Player › Troubleshooting › CloudFront video not playing

  • Paolo E. 10 years, 3 months ago

    hi,

    i have a vod site i made in the past with your player, works perfectly. Now i made a new site and purchased a new licence from you, i want to use the same cloudfront videos i’m using in the previous site, and all videos there work fine. So i installed your plugin in the new site with the pro licence, i put all the same s3 and cloudfront credentials as in the previous site but for some reason the videos won’t play, it gives me this error: Mime Type: text/xml
    Video:

    Access to video forbidden (HTTP 403)!
    unable to determine file format

    The Mime is video/mp4, that i know that all videos have that mime type and all work flawlessly in the other site, the forbidden access i cannot understand why since all cloudfront and s3 credentials are present and i also inserted the cloudfront public key.

    Do you know how can i solve this?

    Thanks

    Miguel

Viewing 16 replies - 1 through 16 (of 16 total)
  • Martin 10 years ago

    Hello Miquel,

    you should not need both Amazon S3 and CloudFront at the same time. Please only put in whats needed. Remember that both use simple string matching to determine if they should affect the URL in the player, so be careful here:

    * https://foliovision.com/player/secure-amazon-s3-guide#keys -> Step 5. “If you are interested in the file protection” – what is in the “Amazon Bucket” field?
    * https://foliovision.com/player/serving-private-cloudfront -> Step 6. “On your webpage go to Site Admin > Settings > FV PlayerPro > Scroll down to CloudFront (pro)” – are you using the right CloudFront domain?

    Could you please also submit the video using our video checker? https://foliovision.com/player/faq#properties-built-checker-report-playing

    Thanks,
    Martin

    Paolo E. 10 years ago

    hi,

    in amazon s3 fields, i put the normal bucket credentials and keys, this is the bucket linked to cloudfront, in cloudfront i put the cloudfront credentials plus the secret key. I did this way in a previous site and works fine. I did replicate all settings for this domain but somehow it won’t play.

    Miguel

    Paolo E. 10 years ago

    the shortcode i’m using is the same as in the previous site:

    [fvplayer src="https://example.cloudfront.net/9543_500K.mp4" embed="false" splash="http://example.com/wp-content/uploads/2015/02/image.jpg" qsel="true"]

    Paolo E. 10 years ago

    the video checker doesn’t work, also the video preview in the plugin setup screen doesn’t display. Says this: Due to conflict with the Media Uploader in wp-admin the preview was temporarily removed.

    Alec Kinnear 10 years ago
    Avatar photo

    Hi Paolo,

    Thanks for your additional notes. I see your URLs are not playing.

    We’ll get to the bottom of your issue on Monday.

    Paolo E. 10 years ago

    Thanks because i will need these urls operational today. As i mentioned the setup in this site is the same as in a previous one which has thousands of videos working without problem. In this new site the video urls are the same, s3 and cloudfront setup and credentials are also the same. The only 2 differences here are that wordpress is the latest version while in the previous site it’s 3.9 and your plugin is also the latest version, while in the previous site it isn’t.

    Martin 10 years ago

    Hello Paolo,

    the latest version works just fine on our website.

    Can we get access to the websites to examine the issue? It’s hard to guess where the issue could be.

    Also, you should not be configuring Amazon S3 in FV Flowplayer is you are using the CloudFront protection.

    Thanks,
    Martin

    Paolo E. 10 years ago

    hi,

    yes i will give you access here

    (moderated)

    If i remove s3 and leave just cloudfront, it doesn’t make a difference.

    Thanks

    Miguel

    Paolo E. 10 years ago

    You can see the videos in the ‘VOD’ link in the menu.

    Martin 10 years ago

    Hello Paolo,

    I had a look and you are using an invalid CloudFront Key. You are using “PUBLIC KEY” instead of “RSA PRIVATE KEY”. In next version of FV Player Pro we will put in some early warning for this. We will also improve the documentation.

    I checked the other website. It appears you are using the correct key on that one.

    Thanks,
    Martin

    Paolo E. 10 years ago

    hi,

    i’m using the same key as in the other, an rsa key. When i open the rsa key, i get


    begin public key —- followed by the key.

    Basically that’s the only i have. is there a way to view the key i inserted in the other site?

    Martin 10 years ago

    Hello Paolo,

    you need to be using the PK key. The filename is pk-{Access Key ID}.pem. The file needs to start with ”


    BEGIN RSA PRIVATE KEY


    ” and it should be around 25 lines long.

    If you use the rsa-{Access Key ID}.pem file, then than one starts with ”


    BEGIN PUBLIC KEY


    ” and is only 8 lines long.

    If you are not sure, then please obtain a new key pair. Follow the steps from here: https://foliovision.com/player/serving-private-cloudfront#keys

    In step 3. which is “You have to create a new CloudFront key paid” you will be able to “Create New Key Pair”.

    Then in step 4. you will see the window with buttons “Download Private Key File”, “Download Public Key File” and “Close”. You need to hit the “Download Private Key File” button, then open that file in a text editor. Also don’t forget to grab the “Access Key ID”, that’s the step 5. Then paste both into FV Player Pro settings – step. 6.

    Thanks,
    Martin

    Paolo E. 10 years ago

    Hi,

    i just did all those steps but still not working. I also removed s3 credentials, added the pk rsa private key and entered the access id but still not going.

    Miguel

    Martin 10 years ago

    Hello Paolo,

    I checked your post with ID 542 (open it by going to http://your-site.com/?p=542

    It was working, but the video was not showing up properly. I checked the text editing for that post and noticed that the shortcode is wrapped in like this:

    <h3>[private][fvplayer src="..."][/private]</h3>

    While there is no problem with [private] (it’s your membership plugin I guess) the <h3;> tag appears to be the problem.

    I removed that one and now the video plays for me.

    Thanks,
    Martin

    Paolo E. 10 years ago

    Hi,

    yes now all is fine, i will remove the h3 tags in all other videos. Thanks a lot for your support.

    Miguel

    Martin 10 years ago

    Hello Paolo,

    our plugin would remove the <h3> tag automatically (as there should be no DIV element in H3), but since you are also using the [private] shortcode, this is not happening automatically. But we will have a look at improving this.

    Thanks,
    Martin

Viewing 16 replies - 1 through 16 (of 16 total)
Reply To: CloudFront video not playing



Please Sign in or Register to upload files.

Related Posts

  1. Serving Private Videos via CloudFront

  2. Serving Private Videos with CloudFront on WordPress

  3. Amazon CloudFront with Download Protection

    Amazon CloudFront with Download Protection

Primary Sidebar

Sign in Register
FV Player Docs Post New Topic

Welcome

to Foliovision support forums! We'll be happy to provide free support to resolve all the reported bugs. You always can start by specifying your OS and browser and steps to reproduce the bug.

If you need help with the installation on your site, please submit a request for a Pro Support Incident. We'll have you up and running in no time, with detailed instructions on how to resolve your issue yourself in the future.

Facing a hard to solve WordPress problem? On a tight deadline?

Let us take care of it for you
right now.

Pro Support Buy FV Player

Footer

Our Plugins

  • FV WordPress Flowplayer
  • FV Thoughtful Comments
  • FV Simpler SEO
  • FV Antispam
  • FV Gravatar Cache
  • FV Testimonials

Free Tools

  • Pandoc Online
  • Article spinner
  • WordPress Password Finder
  • Delete LinkedIn Account
  • Responsive Design Calculator
Foliovision logo
All materials © 2025 Foliovision s.r.o. | Panská 12 - 81101 Bratislava - Slovakia | info@foliovision.com
  • This Site Uses Cookies
  • Privacy Policy
  • Terms of Service
  • Site Map
  • Contact
  • Tel. ‭+421 2/5292 0086‬

We are using cookies to give you the best experience on our website.

You can find out more about which cookies we are using or switch them off in .

Powered by  GDPR Cookie Compliance
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.

Necessary Cookies

Strictly Necessary Cookie allow you to log in and download your software or post to forums.

We use the WordPress login cookie and the session cookie.

If you disable this cookie, we will not be able to save your preferences. This means that every time you visit this website you will need to enable or disable cookies again.

Support Cookies

Foliovision.com uses self-hosted Rocket.chat and self-hosted Freescout support desk to provide support for FV Player users. These cookies allow our visitors to chat with us and/or submit support tickets.

We are delighted to recommend self-hosted Rocket.chat and especially Freescout to other privacy-conscious independent publishers who would prefer to self-host support.

Please enable Strictly Necessary Cookies first so that we can save your preferences!

3rd Party Cookies

This website uses Google Analytics and Statcounter to collect anonymous information such as the number of visitors to the site, and the most popular pages.

Keeping this cookie enabled helps us to improve our website.

We reluctantly use Google Analytics as it helps us to test FV Player against popular Google Analytics features. Feel free to turn off these cookies if they make you feel uncomfortable.

Statcounter is an independent Irish stats service which we have been using since the beginning of recorded time, sixteen years ago.

Please enable Strictly Necessary Cookies first so that we can save your preferences!