• 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

Encrypted HLS videos not playing

Foliovision › Forums › FV Player › Troubleshooting › Encrypted HLS videos not playing

  • anshbhawnani 5 years, 8 months ago

    I am streaming from MediaConvert with static key DRM. I have the following settings in my FV Player. The encryption key is the one I used in the MediaConvert key option. It is getting stuck at the first segment. Maybe it is not able to decrypt the content. What am I doing wrong. Please help.

    enc
    enc
    sample-beluga
    sample-beluga
    fv-settings
    fv-settings
Viewing 10 replies - 1 through 10 (of 10 total)
  • Juraj Kacaba 6 years ago
    Avatar photo

    Hello anshbhawnani,

    Can you please check the video with our Admin video checker? If it will show you any error, please copy it into your reply.

    Thanks,
    Juraj

    anshbhawnani 6 years ago

    It doesn’t show any errors. The video is properly encrypted, just not able to decrypt it.

    checker
    checker
    Martin 6 years ago

    Hello anshbhawnani,

    does the issue occur in Chrome or Firefox? Does it play in Safari on OS X?

    Is your WordPress homepage really https://bittentechsolutions.in? That means https:// and no www.

    Do you see any errors on browser JavaScript console when you try to play the video? Here’s how to enable that console in your browser: https://wordpress.org/support/article/using-your-browser-to-diagnose-javascript-errors/#step-3-diagnosis Once you open that console, reload your page and try to play the video please. Do any errors appear on that console?

    Thanks,
    Martin

    anshbhawnani 6 years ago

    The wordpress homepage URL is absolutely correct. I checked on both Firefox and Chrome, doesn’t work on either of them.
    However, when I checked for errors, there are not much but there was one which said “RangeError: offset is outside the bounds of the DataView” when it is trying to request a blob at “blob:https://bittentechsolutions.in/66543724-d7a5-4901-a90f-17cf3fa9d6d5”. It occurs just after the plugin loads the first video segment, and then the video doesn’t play.
    Maybe it has to do something with the playback? Please look at the problem yourself:
    https://bittentechsolutions.in/sample-beluga/

    anshbhawnani 6 years ago

    Also, the URL “https://bittentechsolutions.in/?fv_player_hls_key=module-8/1/” I entered for getting the decryption key doesn’t return anything.

    Martin 6 years ago

    Hello anshbhawnani,

    I think I have a fix for your issue.

    Please just deactivate and delete the current FV Player Pro plugin and then let wp-admin -> Settings -> FV Player reinstall the Pro pack for you, or grab a fresh ZIP file of FV Player Pro from https://foliovision.com/my-licenses and reinstall from that.

    Then switch to Beta, here’s how: https://foliovision.com/player/basic-setup/switching-fv-player-pro-to-beta

    Hopefully that will fix the issue.

    Thanks,
    Martin

    anshbhawnani 6 years ago

    I did the steps, switched to beta mode. And now it is getting some value for the key from the server, but now it is saying “Video not properly encoded”..
    Please check yourself again.
    https://bittentechsolutions.in/sample-beluga/

    Martin 6 years ago

    Hello anshbhawnani,

    I think the problem is that https://bittentechsolutions.in/?fv_player_hls_key=module-8/1/ is redirected to https://bittentechsolutions.in/?fv_player_hls_key=module-8%2F1%2F

    Figuring out what’s causing that redirection is not easy. I usually end up logging PHP debug_backtrace(2) in wp_redirect() into some file to see if it’s happening inside of WordPress or not.

    I see you are using Cloudflare, perhaps that’s what’s causing the redirection. Can you disable their proxy cache for test?

    In the end the easiest solution might be to use fv_player_hls_key= without slashes or any other special chars. Can you edit these m3u8 files to use fv_player_hls_key=8.1+Introduction+to+System+Hacking ? As long as it’s unique it will work.

    Although on our websites we are not having any issue with slashes in that query argument. There is no redirection like in your case.

    Thanks,
    Martin

    anshbhawnani 6 years ago

    Although the query string is being URL encoded, the value it returns for encoded and normal value appears to be same. Is there any other problem?
    Anyway, how to fix this encoding problem, how to disable it? How to make the video play.. Please help, it’s very urgent.

    Martin 6 years ago

    Hello anshbhawnani,

    please try the troubleshooting steps I mentioned in my last message:

    Figuring out what’s causing that redirection is not easy. I usually end up logging PHP debug_backtrace(2) in wp_redirect() into some file to see if it’s happening inside of WordPress or not.

    I see you are using Cloudflare, perhaps that’s what’s causing the redirection. Can you disable their proxy cache for test? Are you able to exclude just the fv_player_hls_key addresses from their procesing?

    In the end the easiest solution might be to use fv_player_hls_key= without slashes or any other special chars. Can you edit these m3u8 files to use fv_player_hls_key=8.1+Introduction+to+System+Hacking ? As long as it’s unique it will work.

    Unfortunately I was not able to identify a possible bug in FV Player Pro which could cause your stream to not play. In the worst case you will have to change the fv_player_hls_key arguments in your m3u8 files.

    We are also happy to do these troubleshooting steps for you if you order our pro support: https://foliovision.com/pro-support

    Otherwise please do through these steps and let us know the result, then we might have some more ideas if it won’t help already.

    Thanks,
    Martin

Viewing 10 replies - 1 through 10 (of 10 total)
Reply To: Encrypted HLS videos not playing



Please Sign in or Register to upload files.

Related Posts

  1. Encrypted HLS stream

  2. How to Protect Your Videos from Being Downloaded

  3. AWS MediaConvert Encrypted HLS Guide

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‬