• 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

HLS does not seem to work

[Solved]

Foliovision › Forums › FV Player › Bug Reports › HLS does not seem to work

  • Julia V. 3 years, 3 months ago

    Greetings,

    I’ve decided to try out HLS with FV Player.
    Im running Version 7.5.11.727 (and Pro)

    I’ve created a .m3u8 and .ts compilation, and I can play it via VLC.

    I use Digital Ocean, and the bucket is setup is not to allow directory listing. This setup worked for me fo about 2 years. CDN is also turned on and working. (I also tested this setup with streamloader + only authenticated users, and it worked fine.)

    Now, when I add the video link in FV Player:

    https://bucket.fra1.digitaloceanspaces.com/dir1/dir2/video/prog_index.m3u8

    nothing happens: black screen.

    I’ve re-checked CDN and permissions. Everything seems to be fine. For the sake of troubleshooting I set the permissions to read:world on the .m3u8 and .ts files.

    In dev console I see failed (403 – forbidden) requests going to:

    https://bucket.fra1.digitaloceanspaces.com/dir1/dir2/video/

    Please note, that this is requesting the directory(which is not going to igve listing), not .ts or .m3u8 files.

    In an example, in one for your docs, I saw the same request going to …dir/file.m3u8

    In the initiated chain I see that hls.min.js is trying to make that request.

    Now, before this 403 request, I also see a request to steam_loader:

    https://mywebsite/?stream_loader=101&expire=1642606757&track=1&signature=ad856653e40da909855bee08741f7d8b

    If I check the preview of the request, I see the following:

    #EXTM3U
    #EXT-X-TARGETDURATION:10
    #EXT-X-VERSION:3
    #EXT-X-MEDIA-SEQUENCE:0
    #EXT-X-PLAYLIST-TYPE:VOD
    #EXTINF:10.00000,	
    https://bucket.fra1.digitaloceanspaces.com/dir1/dir2/video/#EXT-X-BITRATE:423?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=SYF7HCV72GHMQCF7QT6N%2F20220117%2Ffra1%2Fs3%2Faws4_request&X-Amz-Date=20220117T153920Z&X-Amz-Expires=7200&X-Amz-SignedHeaders=host&X-Amz-Signature=0cf9b09c5f5b1d00200ed9525af6c38689e54f50db7630c199b2b441445e53bf
    fileSequence0.ts
    #EXTINF:10.00000,	
    https://bucket.fra1.digitaloceanspaces.com/dir1/dir2/video/#EXT-X-BITRATE:495?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=SYF7HCV72GHMQCF7QT6N%2F20220117%2Ffra1%2Fs3%2Faws4_request&X-Amz-Date=20220117T153920Z&X-Amz-Expires=7200&X-Amz-SignedHeaders=host&X-Amz-Signature=0cf9b09c5f5b1d00200ed9525af6c38689e54f50db7630c199b2b441445e53bf
    fileSequence1.ts
    ...
    

    To me it seems like the URL is broken here, notice the “fileSequence0.ts” is at the end of the URL. Shouldn’t it be like:

    https://bucket.fra1.digitaloceanspaces.com/dir1/dir2/video/fileSequence0.ts#EXT-X-BITRATE:423...
    

    ?

    The original .m3u8 file looks like this:

    #EXTM3U
    #EXT-X-TARGETDURATION:10
    #EXT-X-VERSION:3
    #EXT-X-MEDIA-SEQUENCE:0
    #EXT-X-PLAYLIST-TYPE:VOD
    #EXTINF:10.00000,	
    #EXT-X-BITRATE:423
    fileSequence0.ts
    #EXTINF:10.00000,	
    #EXT-X-BITRATE:495
    fileSequence1.ts
    ...
    

    What am I missing here?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Mária Stašová 3 years ago
    Avatar photo

    Hello Julia,

    thank you for reaching out to us!

    Do you have CORS headers enabled? If not, here’s how: https://foliovision.com/player/video-hosting/how-to-enable-cors-headers#dos

    If that doesn’t help, could you please send us a report via our built-in video checker? https://foliovision.com/player/basic-setup/how-to-use-video-checker
    The way the video checker works is that you need to come in as admin and open the video checker and send us a report about the video. It works on desktops.

    Thanks,
    Maria

    Martin 3 years ago

    Hello Julia,

    I prepared a fix for Stream Loader for the next FV Player Pro release. We didn’t count on EXT-X-BITRATE tag.

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

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

    And finally it should be working for you. Please let us know.

    Thanks,
    Martin

    Julia V. 3 years ago

    Thank you Martin,

    I already manually stripped EXT-X-BITRATE from my file, and everything started working perfectly. I was a bit confused at first since it’s the official spec since 2018 and I was using the official/latest mediafilesegmenter binary.

    On another note, HLS in FV Player does not work (does not start, (stutters, stops, does not load, etc) on devices with M1 architecture (some iPads and newer Macbooks). More info here:

    https://github.com/video-dev/hls.js/issues/3834

    I’ve manually updates hls.min.js to the latest version (1.1.3), and now everything works perfectly. It might be time to update it in FV Player plugin as well.

    Martin 3 years ago

    Hello Julia,

    thank you for the heads up. We are currently experimenting with Apple Silicon M1 and we do run into different issues, but in this case we should just upgrade Hls.js. We only need to double-check the behavior on HLS streams with multiple audio tracks.

    Thanks,
    Martin

    Martin 3 years ago

    Hello Julia,

    we encountered no issues, so Hls.js 1.1.3 will be part of the next FV Player release.

    Thanks,
    Martin

Viewing 5 replies - 1 through 5 (of 5 total)
Reply To: HLS does not seem to work



Please Sign in or Register to upload files.

Related Posts

  1. IPTV Streaming

    IPTV Streaming

  2. Cannot get non-Flash video to work

    Cannot get non-Flash video to work

  3. Since the last update I can not get m3u8 to work from Vimeo.

    Since the last update I can not get m3u8 to work from Vimeo.

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!