• 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

Moved to a new domain. HLS videos still pointing to the old one.

[Solved]

Foliovision › Forums › FV Player › Troubleshooting › Moved to a new domain. HLS videos still pointing to the old one.

  • Dimitrii 1 year, 11 months ago

    Hi.

    I am moving my site to a new domain and I moved it together with FV player etc, but HLS encrypted videos running via BunnyCDN and hosted on DigitalOcean can’t be played there. The player tries to address the old domain (oldomain.com?stream_optim=/for-begin-lesson1/index’) which ends up in CORS error and generally is no go. I’ve checked the database for leftover links to the old domain and it is not the case. Also, modifies m3u8 files which contained such links (#EXT-X-KEY:METHOD=AES-128,URI=”https://olddomain.com/?stream_optim=/for-begin-lesson1/index“) and modified them as well. Cleaned the cache everywhere, but that didn’t help either.
    BTW, videos were encrypted via Coconut. The FV coconut player also has a license issue. It does not accept any license, although I did necessary changes in my account.
    Any idea how to track the issue down?
    Any assistance you can provide would be greatly appreciated.

    With regards, Dimitri

Viewing 9 replies - 1 through 9 (of 9 total)
  • Martin 2 years ago

    Hello Dimitri,

    please let us know what was your domain name before and after. Did it change completely? For the HLS decryption key we allow sub-domains to get the key but if the domain was changed completely it won’t work.

    However you did mention you updated the m3u8 files – did you really do that with the files stored on DigitalOcean Spaces? It could also be adjusted with a WordPress filter fv_player_drm_stream_loader_output in PHP.

    Thanks,
    Martin

    Dimitrii 2 years ago

    Hi Martin.

    Yes, its a completely different TLD.
    As for the m3u8 files – I just tried to modify on one video.
    Does this mean I need to re-encrypt via Coconut all those videos or is there a simpler solution?

    Regards, Dimitri

    Dimitrii 2 years ago

    Kind of sorted it out for now.
    Thanks a lot Martin!

    Regards, Dimitri

    Martin 2 years ago

    Hello Dimitri,

    re-encoding would be the last option.

    As I was mentioning something could be done about this using PHP code, so we will discuss if our plugin could make these website migrations easier.

    Please let us know how did you fix these issues when you have a minute.

    Thanks,
    Martin

    Dimitrii 2 years ago

    Hi Martin.

    the first solution is to modify m3u8 files, which is burdensome.

    My second solution is not elegant, since I am not a programmer. But it works temporarily. You directed me to a fv_player_drm_stream_loader_output filter and I ended up modifying the decryption_key_subdomains function. Since the domains are different I reversed the comparison logic. Check the picture.

    A permanent solution for domain transfers would be a great thing. Also, I see no possibility to remove that old domain from the licenses list in my account on your web-site, only a change against a new one. I didn’t understand that, so I ended up using 2 licenses.

    Regards, Dimitri

    chrome_ybiovubj71
    chrome_yBIoVUBj71
    Martin 2 years ago

    Hello Dimitri,

    We are thinking about letting FV Player Pro accept the encrypted HLS streams from and of your licensed domains. If we allow any random domain it could potentially be exploited to lower the video protection.

    Thanks,
    Martin

    Dimitrii 2 years ago

    Sounds great.
    Thank you Martin.

    Alec Kinnear 2 years ago
    Avatar photo

    Yes, this is definitely planned Dmitrii. The only issue is that for each domain which can play these files a publisher will require a license.

    Martin 2 years ago

    Hello Dimitrii,

    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


    That will give you the FV Player Pro plugin with the the new “Encrypted Playback for 3rd Party Domains (Pro)” tool available in wp-admin -> FV Player -> Settings -> Tools.

    Thanks,
    Martin

Viewing 9 replies - 1 through 9 (of 9 total)
Reply To: Moved to a new domain. HLS videos still pointing to the old one.



Please Sign in or Register to upload files.

Related Posts

  1. Testing domain

    Testing domain

  2. Wrong Domain

    Wrong Domain

  3. MediaConvert documentation is wrong

    MediaConvert documentation is wrong

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!