• 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

Error message on enrypted videos : hlsjs-lite video not properly encoded

[Solved]

Foliovision › Forums › FV Player › Bug Reports › Error message on enrypted videos : hlsjs-lite video not properly encoded

  • bruno 1 year, 8 months ago

    Hello,

    Encrypted video won’t play and show this error message : hlsjs-lite video not properly encoded.
    I was using WordPress 6.1.3, i downgraded to 6.0 as i know there are issuues with 6.2, and issue remains. Please help, this issue really impact my business.

    Best regards

Viewing 23 replies - 1 through 23 (of 23 total)
  • bruno 2 years ago

    I renew FV PRO license and installed newest version, this did not fix anything. I tried WordPress 6.0, 6.1, 6.2, 6.3 did not fix anything either.
    Please help

    bruno 2 years ago

    I also just cleared Stream Loader cache, issue remains…

    Martin 2 years ago

    Hello Bruno,

    Please let us know what do you use to host your videos.

    If it’s Bunny CDN pulling videos from DigitalOcean Spaces, then does Bunny CDN in the S3 Authentication settings still use valid keys from DigitalOcean Spaces?

    Are you sure there were no changes?

    Is the issue only with Safari?

    Are you on latest FV Player (the base free plugin) too?

    Thanks,
    Martin

    Martin 2 years ago

    A test page would be helpful too.

    Thanks,
    Martin

    • This reply was modified 1 year, 8 months ago by Martin.
    bruno 2 years ago

    Hello,

    • i use Bunny CDN pulling videos from DigitalOcean Spaces

    • All keys and token keys look ok to me (see attached files).

    • No changes

    • issue at least with Firefox and Safari

    • FV Player version is : 7.5.37.7212

    • FV Player Pro version is : 7.5.35.7212

    Test page >> (redacted)

    Thank you

    capture-decran-2023-08-19-a-01-40-37
    Capture-décran-2023-08-19-à-01.40.37
    Martin 2 years ago

    Hello Bruno,

    Thank you for these details, I can see that the issue is not with Bunny CDN nor DigitalOcean Spaces.

    Somehow the encrypted playback is not allowed.

    Did you make any changes to the files stored on DigitalOcean Spaces, including renaming any of them?

    Were there any changes to the web server configuration, like adding a web application firewall like Cloudflare or a proxy?

    I’m asking as the user IP address playing the video and requesting the decryption key seems to not match.

    Please open YOUR-SITE.com/wp-admin/options-general.php?page=fvplayer&debug and go to the “Tools” tab where you will find “Encrypted HLS tokens”.

    Then play your test video and refresh that above page and see if anything new appears in that “Encrypted HLS tokens” table. Will you see your real IP address and will the “Url” match the video which you are trying to play?

    Thanks
    Martin

    Martin 2 years ago

    As a temporary workaround you can use this PHP code to permit the encrypted HLS playback if the IP or URL does not match:

    add_filter( 'fv_player_pro_secure_hls_key_send', '__return_true' );

    You can put that to your theme functions.php file.

    Thanks,
    Martin

    bruno 2 years ago

    Hello,

    -I did not make any changes to the files stored on DigitalOcean Spaces nor renamed them. Anyway newly encrypted videos don’t play either so i assume the issue is not there.

    -No changes to the web server configuration

    • When i play the test video, nothing new appears in that “Encrypted HLS tokens” table, there is just the same IP address. Not sure about what you mean by “Will you see your real IP address and will the “Url” match the video which you are trying to play?”

    Regards

    bruno 2 years ago

    By the way i also posted that ticket : https://foliovision.com/support/fv-wordpress-flowplayer/troubleshooting/error-message-in-player-after-fv-player-update.
    See if it’s related and if it could help.

    Regards

    Martin 2 years ago

    Hello Bruno,

    Please deactivate and delete the FV Player Pro plugin you are using, then hit “Install Pro extension” at the top of the wp-admin -> FV Player -> Settings screen.

    
Then switch to the Beta release using the steps from here if you are not already using it: https://foliovision.com/player/basic-setup/switching-fv-player-pro-to-beta


    Finally you will be able to enable wp-admin -> FV Player -> Settings -> Pro Features -> Debug -> Verbose.

    Please let us know what filename it logs into (you can find out by clicking the three dots in the option description), it should be something like:

    /home/website/public_html/fv-player-debug-abcdefdcf03634a4f3318e6d1d99042d.log

    Then we can try to play your test video and see what shows in the log to figure out what’s failing.

    Thanks,
    Martin

    bruno 2 years ago

    Hello,

    filename it logs into (redacted)

    Best regards

    Martin 2 years ago

    Hello Bruno,

    I see that the encrypted HLS playback request fails to store.

    I wonder if your FV Player HLS tokens table got lost.

    Please reinstall using the same steps again, I added some code to re-create the table if it’s missing.

    Thanks,
    Martin

    bruno 2 years ago

    Hello,

    i tried both release and beta and nothing changed

    Martin 2 years ago

    Hello Bruno,

    Please reinstall using the same steps again, I added some code to log why it fails to re-create that table or why the database insert fails. No need to test the Release version, these improvements are in Beta only.

    If possible try to execute this SQL query on your database:

    CREATE TABLE `wp_fv_fp_hls_access_tokens` (
      `id` int NOT NULL AUTO_INCREMENT,
      `time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
      `url` varchar(1024) NOT NULL,
      `client` varchar(1024) NOT NULL,
      `cookie` varchar(1024) NOT NULL,
      PRIMARY KEY (`id`),
      KEY `url` (`url`(768)),
      KEY `client` (`client`(768))
    );

    Will that work or will you get any error?

    Thanks,
    Martin

    bruno 2 years ago

    Hello,

    Nothing changed after installing Beta 9…

    Martin 2 years ago

    Hello Bruno,

    Now the log shows the following:

    Table ‘./engorged_wp/wp_fv_fp_hls_access_tokens’ is marked as crashed and should be repaired

    So it seems that your server has crashed and it affected one of the FV Player tables. This could happen to any table, including the basic WordPress tables like wp_options, in that case your website would not load at all.

    Please run the following SQL command on your database:

    REPAIR TABLE wp_fv_fp_hls_access_tokens;

    That will fix the issue. If you are not sure about how it’s done please ask your web server support or you can try to use this plugin to repair your database: https://wordpress.org/plugins/simple-database-repair/ I checked that plugin code an it seems good.

    Thanks,
    Martin

    bruno 2 years ago

    Hello,

    do you mean that the encrypted video issue is due to the database issue ? Because i run the plugin and issue remains.

    Best regards

    bruno 2 years ago

    See attached file

    capture-decran-2023-08-21-a-21-05-09
    Capture-décran-2023-08-21-à-21.05.09
    Martin 2 years ago

    Hello Bruno,

    That’s weird as it keeps saying that it’s corrupted.

    Please try to remove that table using your database management tool. If you have any kind of a control panel running on your web host there should be a way of listing the database tables and removing wp_fv_fp_hls_access_tokens.

    If you are not sure, you can ask your web host support.

    I wonder if WordPress includes any code to auto-repair its tables these days. We should follow the same procedures with FV Player.

    Thanks,
    Martin

    bruno 2 years ago

    Hello,

    ok f i give you admin access and cpanel accedss can you try to fix this once for all ? Because i feel like we’re wasting too much time trying this, then trying this, then trying this, then trying this… I mean i can hire someone to remove the database table if i’m sure it will fix the issue once for all. But if we’re still trying things maybe you should try everything directly.

    Best regards

    Martin 2 years ago

    Hello Bruno,

    We are happy to help you resolve the issue right on your website, we offer the paid service for hands-on support: https://foliovision.com/pro-support

    If you have a backup of your website, you can run this query using a plugin like https://wordpress.org/plugins/sql-executioner/

    DROP TABLE `wp_fv_fp_hls_access_tokens`

    That will remove the table. I advise strongly to remove that plugin once it’s no longer needed.

    We always try to make our plugin better and more resilient. I checked if WordPress has a way of fixing its tables and it does. But it only supports its own tables and cannot check a table of any plugin. And it’s not fully automated, you have to edit wp-config.php, so it’s not so easy.

    But I added some code to let FV Player use that WordPress feature. I know that just repairing the table did not solve the issue for you, but it’s a good addition.

    Thanks,
    Martin

    bruno 2 years ago

    Hello,
    hands on support ordered. What do you need to proceed ?

    Martin 2 years ago

    Hello Bruno,

    I replied on your email, please continue there.

    Thanks,
    Martin

Viewing 23 replies - 1 through 23 (of 23 total)
Reply To: Error message on enrypted videos : hlsjs-lite video not properly encoded



Please Sign in or Register to upload files.

Related Posts

  1. hlsjs-lite: Video not properly encoded

    hlsjs-lite: Video not properly encoded

  2. FVPlayer-Coconut, DigitalOcean, Bunny: hlsjs-lite video not properly encoded

    FVPlayer-Coconut, DigitalOcean, Bunny: hlsjs-lite video not properly encoded

  3. Stage enviroment: hlsjs-lite video not properly encoded

    Stage enviroment: hlsjs-lite video not properly encoded

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!