• 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

Only one auth mechanism allowed

Foliovision › Forums › FV Player › Troubleshooting › Only one auth mechanism allowed

  • Remruata L. 3 years, 10 months ago

    Hi, i am able to play my hls file on a Chrome browser but i still get this error. Is this something that i should care about?

    Analysis of https://d2dqbahhsbj76i.cloudfront.net/test2/master.m3u8?Key-Pair-Id=APKAJOXTFZY3PMRYFP2A&Signature=nvxYXi4eWiWfNqAXjpTWKcW7A1f968-d008lE3WDaUJ1YsJyW1tAOu9we2jrsnsH0m~JjsFoFior3gsHTv3qDTd5k-m8~ATintOoUPbRSJh97DaQcdaFRs--yYfBOvLrIJSPZIcaZb31LUuS7rxGEZIte68yR0XXfsa3qFNzYCWk3lyoVirjBamSLkrUZDtmmxJVGdUd4CKcJQhMCwo7NVVJnu7RFZSMBt9ycb3WlUf-6Fa~BYEi3ToYC6GBcUtmOpQG~8ztTRM1poKoOGbWHEKeeNxt8SaF7EFhuXEfFxZfEW-DQ64IE71MKKqgKRoxIeHTlVE3scVG~kU3X8Yzkg__&Expires=1625001488

    Mime Type: application/xml
    Compatibility: CORS headers and crossdomain.xml found

    Amazon S3: Only one auth mechanism allowed; only the X-Amz-Algorithm query parameter, Signature query string parameter or the Authorization header should be specified

Viewing 20 replies - 1 through 20 (of 20 total)
  • Mária Stašová 4 years ago
    Avatar photo

    Hello Remruata,

    we are glad to hear you were able to make your video play. It is also correctly secured now.

    I will ask our development team about the error.

    Thanks,
    Maria

    Remruata L. 4 years ago

    thank you

    Mária Stašová 4 years ago
    Avatar photo

    Hello Remruata,

    You are using URL tokens, but it seems that the video segments are loading without the URL tokens, causing the protection not to work properly.

    Try using the Stream Loader feature: https://foliovision.com/2020/11/hls-download-protection-cloudfront

    If the issues persist, please, send us a full report from the video checker by clicking the “Send report to Foliovision” button.

    Thanks,
    Maria

    Remruata L. 4 years ago

    Yes. Thats it. Thanks. Its working now.

    Another problem i had is I find it difficult trying to click the fullscreen mode icon, it goes away as soon as the cursor is going to the icon. Do i need to open another ticket for this?

    Mária Stašová 4 years ago
    Avatar photo

    Hello Remruata,

    could you please send us such an video where you face this issue? Also, what device and browser are you facing the issue on?

    Thanks,
    Maria

    Remruata L. 4 years ago

    and the chromecast button is not available now. it was working before.

    Mária Stašová 4 years ago
    Avatar photo

    Hello Remruata,

    does the fullscreen button issue disappear if you switch to a standard WordPress theme? For example Twenty Twenty-Two theme.

    As for the Chromecast issue, try using a basic Mp4 file and see, if Chromecast works with that.

    Thanks,
    Maria

    Remruata L. 4 years ago

    Hi,
    I changed to twenty twenty theme and the full screen hover issue dissapears.
    Chromecast issue is also working with mp4 file. Why does it not work with hls files? I checked the “Chromecast Encrypted HLS” checkbox and it was working before. I dont remember making any changes after this.

    Remruata L. 4 years ago

    Also How will i fix the fullscreen issue with my theme?

    Martin 4 years ago

    Hello Remruata,

    I do not have Chromecast available at the moment, so I’m asking Maria to test. In the meantime please test on the first video here: https://foliovision.com/player/demos/encrypted-hls-stream

    The fullscreen button might be misbehaving if your theme is using some forced CSS rules (!important). Please let us know how exactly does the button disappear. Does it change position, or does it change color? Based on that you should be able to use some CSS like this to make it appear:

    .flowplayer .fp-fullscreen {
      color: white !important;
      opacity: 1 !important;
    }
    

    Thanks,
    Martin

    Martin 4 years ago

    Hello Remruata,

    we are having no issues with Chromecast here: https://foliovision.com/player/demos/encrypted-hls-stream

    1) Settings -> FV Player Pro -> Pro Feature -> Chromecast Encrypted HLS – has to be enabled

    This will lower the security of the encrypted streams a bit.

    And it will set CORS headers for * origins to the FV Player Pro Stream Loader URLs like https://site.com/?stream_loader=….

    Are you using anything to adjust the HTTP headers? Cloudflare might be doing that. In order for Chromecast to work with encrypted HLS streams following conditions have to be met:

    Are you adjusting the CORS (or allowed domains) on your Cloudfront distribution?

    2) The HLS must not be using a separate audio track. We have some plans about how to improve this to work with Chromecast. I checked your demo page and it appears to not be the case.

    Thanks,
    Martin

    Remruata L. 4 years ago

    hi,
    I checked the link and the videos in the demos doesnt have any chromecast button.Could it be that it is not working?

    Remruata L. 4 years ago

    [
    {
    “AllowedHeaders”: [
    “*”
    ],
    “AllowedMethods”: [
    “GET”,
    “POST”,
    “PUT”
    ],
    “AllowedOrigins”: [
    “*”
    ],
    “ExposeHeaders”: [],
    “MaxAgeSeconds”: 3000
    }
    ]

    Remruata L. 4 years ago

    the above is the Cors of my delivery bucket

    Remruata L. 4 years ago

    Is there anything i did wrong here?

    qqqq
    qqqq
    Remruata L. 4 years ago

    I have made some changes again. Now, the chromecast button appeared on the Hls encrpyted video. But i still am unable to cast it. I tested this on an mp4 video from my s3 bucket which could be casted. I will post my cloudfront distribution screenshots and please check if i am missing anything.

    Remruata L. 4 years ago

    Here are the screenshots of my Cloudfront distribution settings and my bucket Cors configuration as well

    screenshot_20210711-212614_chrome-2
    Screenshot_20210711-212614_Chrome-1
    screenshot_20210711-212633_chrome-2
    Screenshot_20210711-212633_Chrome-1
    screenshot_20210711-212650_chrome-2
    Screenshot_20210711-212650_Chrome-1
    screenshot_20210711-212906_chrome-2
    Screenshot_20210711-212906_Chrome-1
    screenshot_20210711-212920_chrome-2
    Screenshot_20210711-212920_Chrome-1
    screenshot_20210711-213049_chrome-2
    Screenshot_20210711-213049_Chrome-1
    Mária Stašová 4 years ago
    Avatar photo

    Hello Remruata,

    thank you for the screenshots. I cannot see whether you have whitelisted the correct headers. Please check according to the screenshot I attached.

    Everything else in your settings is correct.

    Thanks,
    Maria

    distribution-settings-new-2
    distribution-settings-new
    Remruata L. 4 years ago

    Hi,
    Yes, i whitelisted these three headers. If the setup is correct, then is there any other reason that may cause chromecast to not cast on this hls encrypted videos. Mp4 videos can be casted.

    Martin 4 years ago

    Hello Remruata,

    here are some other things to check:

    Will it play a normal non-encrypted HLS stream?

    Will it play if you disable the URL tokens and the FV Player Pro “Stream Loader” settings?

    Are you using any custom firewall rules in the AWS WAF?

    Thanks,
    Martin

Viewing 20 replies - 1 through 20 (of 20 total)
Reply To: Only one auth mechanism allowed



Please Sign in or Register to upload files.

Related Posts

  1. Amazon S3 Frankfurt Issues

    Amazon S3 Frankfurt Issues

  2. Rackspace Issues

    Rackspace Issues

  3. Amazon S3: Request is not yet valid

    Amazon S3: Request is not yet valid

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!