• 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

Adding custom language code in subtitles

[Solved]

Foliovision › Forums › FV Player › How to … › Adding custom language code in subtitles

  • Steve 2 years, 1 month ago

    Hello,

    I am trying to add a custom language code to the subtitles.

    Right now, I can only choose given language codes from the dropdown option.
    Is there any way I can add a custom language code or even change the current language codes to my own?

    For example, I want users to be able to choose subtitles from “Easy”, “Normal”, or “Hard” rather than different languages.

    Thank you.

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

    Hello Steve,

    While it cannot be done via settings, there is a way to give custom names to subtitles via the manual shortcode parameters.

    The thing is, while the naming works, it shows up as additional information to undefined language files: “Default (easy”) , Default (normal)”. Instead of just naming the language as it usually does. Would this be an viable option for you?

    If so, then you can do so by adding a suffix to the subtitles parameter. Like this:
    subtitles_easy=”https://your-website.com/uploads/subtitles.vtt

    To add more, subtitle files, just change the name and link:
    subtitles_normal=”https://your-website.com/uploads/subtitles2.vtt

    You can learn more about manual shortcodes here: https://foliovision.com/player/developers/shortcode-parameters#subtitles

    However, the player still expects a language code to be there, thus the “Default (name)”. As for adding the custom name as the actual name, no, there is no option to do that at the moment. We would have to discuss it. Does this solution fit your needs?

    Making the web work for you,
    Maria

    Steve 2 years ago

    Hello, Maria.
    Thank you for your reply.
    As of now, default(+my choice of name) would be my best option, considering my options are limited.

    However, I have tried the above way but the language code comes out as “Default (kr)” even if I add subtitles_easy=”URL”

    I think it is showing kr since my wordpress language is set to Korean.

    Just to make sure I haven’t done anything wrong on my part, this is what I have tried.

    I’ve tried to add
    subtitles_easy=”https://yourwebsite.com/uploads/subtitles.vtt” directly into the shortcode like:
    [fvplayer id="1" subtitles_easy=”https://your-website.com/uploads/subtitles.vtt"]
    But when I do this, then I do not see any subtitles at all. I do not see the ‘cc’ button.

    So, I added subtitles_easy=”https://yourwebsite.com/uploads/subtitles.vtt” in the FV Player subtitle option tab, but then the player shows Default (kr) not the name of my choice. Plus, when I add two or more subtitles, I can only see one “Default (kr)”

    I hope there is a way.

    Thank you again.

    Steve

    Mária Stašová 2 years ago
    Avatar photo

    Hello Steve,

    Here’s a working manual FV Player shortcode that should result in the subtitles being calle “Default (easy)” :

    [fvplayer src="https://vimeo.com/30270430" subtitles_easy="https://foliovision.com/images/2016/04/test-subtitles.vtt" splash="https://i.vimeocdn.com/video/203238365-e5f29a10b1b412bb3fe5a65a2906496c113188728968af0b3bc200c117d2b16d-d_1920x1080?r=pad" caption="Nízke Tatry"]

    Try it on your website and let me know, if it works for you or if it still shows kr. When you input via the settings, it usually tries to assume a default language code.

    Thanks,
    Maria

    Steve 2 years ago

    Hello, Maria.

    Thank you again for your reply.

    Well, the video link you gave me didn’t work, but when I changed the video to a youtube video link, it worked!
    The videos will be from youtube anyway, so it is totally fine.

    Thank you very much!

    Steve

    Mária Stašová 2 years ago
    Avatar photo

    Hello Steve,

    I’m glad to hear the manual shortcode works for you in the intended way. Thanks for the follow-up.

    Making the web work for you,
    Maria

    Alec Kinnear 1 year ago
    Avatar photo

    Hi Radu,

    You should be able to upload your own subtitles to your Vimeo video. This is FV Player Pro only.

    I’m not sure if you are a Pro user or not.

    Thanks, Alec

Viewing 6 replies - 1 through 6 (of 6 total)
Reply To: Adding custom language code in subtitles



Please Sign in or Register to upload files.

Related Posts

  1. Multiple language subtitles and interactive transcripts

    Multiple language subtitles and interactive transcripts

  2. New subtitles language remembering feature

  3. How can I delete Subtitle Language tracks

    How can I delete Subtitle Language tracks

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!