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

Foliovision

  • 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 Restrict Viewer Access CORS Problem

[Solved]

Foliovision › Forums › FV Player › Troubleshooting › CloudFront Restrict Viewer Access CORS Problem

  • Philipp 6 years, 7 months ago

    Hello there,

    we use the FV Player to play mpd and hls-files, but there is a problem with the option “Restrict Viewer Access” in the Cloudfront distribution behaviour. When we set it to “yes” FV Player throws a 403 error and says:

    Access to XMLHttpRequest at 'https://vod.domain.com/[PATH TO .mpd FILE]' from origin 'https://www.domain.com/' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

    It also wont find the crossdomain.xml for the hls-file playback then.

    When we set it to “no” everything works fine, but we need the video to be protected. The Cloudfront keypair is correct and everything else is exactly like in the guides. CORS stuff etc.

    Any idea on how to fix this?

    Best Regards

Viewing 4 replies - 1 through 4 (of 4 total)
  • Juraj Kacaba 7 years ago
    Avatar photo

    Hi Phillip,

    The error seems to refer to CORS headers or your S3 bucket, can you please double check all your settings by following this tutorial?

    Finding a problem within AWS settings tends to be a little hard because of the unfriendly AWS interface. Even a slightly difference in settings can stop your videos from working.

    Also your system info could be really beneficial for us, you can find it here:

    WP Admin dashboard -> Settings -> FV Player Pro -> Tools

    You can simply copy the whole system info into this thread, we won’t post it publicly.

    Thanks for using our plugin,

    Juraj

    Philipp 7 years ago

    Hello!

    We deployed the following solution for our video on demand portal by the way: https://aws.amazon.com/de/solutions/video-on-demand-on-aws/ – and the CORS settings are like in the tutorial. We double checked. It only throws an error if we restrict viewer access though.

    Best Regards

    ( System Info removed )
    Philipp 7 years ago

    Oh! And while we tested everything we only filled out the Cloudfront (Pro) settings. S3 protected content was not filled out.

    Juraj Kacaba 7 years ago
    Avatar photo

    Hi Philipp,

    Yes! As I said earlier, even for us it is sometimes really easy to miss something throughout the set up process. You also need to have the S3 settings properly set for CloudFront protection to work. I believe everything will work just fine after you set up those S3 settings. Let us know if it worked.

    We’ll check our documentation to make sure it is all explained as clearly as it could be. Thanks for giving us feedback.

    Making the web work for you,

    Juraj

Viewing 4 replies - 1 through 4 (of 4 total)
Reply To: CloudFront Restrict Viewer Access CORS Problem



Please Sign in or Register to upload files.

Related Posts

  1. Serving Private Videos via CloudFront

  2. Using HLS With FV Player

  3. Amazon CloudFront with Download Protection

Primary Sidebar

Troubleshooting

    Categories

    • Business
    • Camera Reviews
    • Case Studies
    • Design
    • FV Player
    • Internet Marketing
    • IT
    • Life
    • SEO
    • Slovak
    • Video of the Week
    • WordPress

    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 © 2026 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‬