Foliovision › Forums › FV Player › Troubleshooting › Cloudfront HLS encryption – can't generate Decription Key
-
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
-
-
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,
EduardYes. followed the instruction.
Shortcode EditorVideo tab > Video:
https://********.cloudfront.net/directory/index.m3u8Options > Encryption Key:
key of the index from Elastic Transcoder consoleAlso I’ve set the credential to these settings.
Settings > FV Player Pro > Amazon AWS Decoder (Pro)
Settings > FV Player Pro > Cloudfront (Pro)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,
EduardHello 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,
MartinHello 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