Enable subtitles for videos

Hello everyone, I’m developing a website with a lot of videos. For video there are two requirements:

  • make a custom control panel (done)
  • turn on the subtitles, moving them up.
    To embed video I use the video tag and to insert subtitles I use tag track, where in src I specify a link to a txt file that is stored on webflow.
    But I get cross-domain error when I try to enable a subtitle file. Maybe someone knows the solution to my problem? Thanks)

Here is my site Read-Only: LINK
(how to share your site Read-Only link)