• 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 HLS encryption – can't generate Decription Key

[Solved]

Foliovision › Forums › FV Player › Troubleshooting › Cloudfront HLS encryption – can't generate Decription Key

  • Ash 7 years, 3 months ago

    I can not generate Decryption Key for Cloudfront on shortcode editor.
    non-encrypted streaming works properly.

    I tried to add Admin permission to the Cloudfront user like mentioned on this thread but didn’t work.
    https://foliovision.com/support/fv-wordpress-flowplayer/troubleshooting/decryption-key-not-generated

Viewing 15 replies - 1 through 15 (of 15 total)
  • Eduard 7 years ago
    Avatar photo

    Hello Ash,

    What kind of issue are you getting? Did you copy the Encryption Key (step 13 in our encrypted HLS guide) to the shortcode editor , but the Decrypt button didn’t work? Or it was something different?

    Thanks,
    Eduard

    Ash 7 years ago

    Yes. followed the instruction.
    Shortcode Editor

    Video tab > Video:
    https://********.cloudfront.net/directory/index.m3u8

    Options > Encryption Key:
    key of the index from Elastic Transcoder console

    Also I’ve set the credential to these settings.
    Settings > FV Player Pro > Amazon AWS Decoder (Pro)
    Settings > FV Player Pro > Cloudfront (Pro)

    Ash 7 years ago

    Clicked “Decrypt” and nothing happened

    Ash 7 years ago

    I can obtain decryption key with Amazon PHP SDK on same server.
    So I guess something wrong with FV Player.

    Eduard 7 years ago
    Avatar photo

    Hello Ash,

    Thanks for the detailed explanation. Could you please send us the encryption key from this step and the access keys (those from Settings > FV Player Pro > Amazon AWS Decoder (Pro))? You can do so securely via this free service – https://revealit.me/.

    Thanks,
    Eduard

    Ash 7 years ago

    Sent Revealit message via Rocket.Chat.

    Eduard 7 years ago
    Avatar photo

    Hi Ash,

    I can confirm receiving it. We’ll take a look into this and let you know what can be done.

    Thanks,
    Eduard

    Martin 7 years ago

    Hello Ash,

    we forgot to mention we also need to know your region setting for AWS Decoder.

    You also posted 3 lines for the video Encryption Key, it should be the part highlighted in red only: https://foliovision.com/images/2015/04/encrypted-hls-key.png

    We improved the AWS Decoder to report the full error back to you. Please reinstall FV Player Pro from a ZIP file which you get from https://foliovision.com/my-licenses Then switch it to Beta: https://foliovision.com/player/basic-setup/switching-fv-player-pro-to-beta Then when you try to decode your video encryption key you will get an error message from AWS which should help you with understanding what’s wrong with your setup.

    Thanks,
    Martin

    Ash 7 years ago

    Thank you.

    Problem was region setting for AWS Decoder.
    I didn’t notice there is “Oregon” region so I set “US Standard.”
    With “Oregon” region, Decrypt button works.

    Ash 7 years ago

    By the way, It would be nice if there was individual decryption key generator on somewhere other than shortcode editor(maybe on Settings page?)

    Martin 7 years ago

    Hello Ash,

    please let us know more about your use case – why would you need to decode the encryption key at some other time than when you are posting the video into some page with shortcode editor?

    Thanks,
    Martin

    Ash 7 years ago

    I’m developing one time coupon system plugin for videos.
    Like pay per view.

    So admins need to input video info on the plugin screen as CPT data.
    This will generate FV Player shortcode on the video page.
    Generating description key only on the shortcode editor is kinda inconvenient.

    Martin 7 years ago

    Hello Ash,

    we are almost finished with a new FV Player API function which lets you register FV Player custom video fields. You call a single line of PHP and you get a post editing meta box with the “Add Video” button which brings up the shortcode editor and it also previews the video that is inserted.

    Wouldn’t that solve your issues? Let us know, I’m eager to get it finished and post some documentation.

    Thanks,
    Martin

    Ash 7 years ago

    Hi,

    That may be useful.
    Also if there was simple api that can return decryption key, it would be nice.

    Ash 7 years ago

    I noticed that I can use “fv_fp_decrypt_hlskey” ajax action to obtain decryption key.

    So I was able to implement it to my plugin page.

Viewing 15 replies - 1 through 15 (of 15 total)
Reply To: Cloudfront HLS encryption – can't generate Decription Key



Please Sign in or Register to upload files.

Related Posts

  1. Serving Private Videos with CloudFront on WordPress

  2. FV Flowplayer 6 Released!

  3. Serving Private Videos via CloudFront

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!