• 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

Encrypted HLS videos not playing

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

  • anshbhawnani 4 years, 10 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 5 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 5 years ago

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

    checker
    checker
    Martin 5 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 5 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 5 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 5 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 5 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 5 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 5 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 5 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

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!