Adding subtitles to your video is simple. We provide you with an .srt file, which is a text file with the subtitles on it. You’ll upload this to your video platform.
This guide is going to use YouTube, but other platforms use similar techniques.
Upload your video to your video hosting platform
Once you’ve uploaded the video file, click on the Subtitles option:
Then Add Language:
A drop down list of languages will appear. Simply select the one you want to upload. Some languages have several options depending on which country that language is spoken. For example, here are the options for Spanish – in our case it’s Spanish for Spain.
The language will appear in the subtitles list. As you can see here, we already have several other languages uploaded – they are marked as Published.
To continue adding Spanish, click Add:
As you have the .srt file, you can select Upload file.
When asked about subtitle file type, select With timing, as the .srt file has all the timings for when each subtitle will appear.
Find the .srt file on your computer, and then the captions will appear. At this stage you can review the titles to see how they appear.
Finally, hit Publish.
Ensuring the captions are on by default
By default, YouTube captions are off. If you want them to appear immediately whenever someone clicks play, then you need to follow these simple steps.
First, you need to add a Tag. To do this, go to the Video details page for your video within your YouTube Studio.
Scroll down to the bottom where you’ll see Show More. Click this to reveal the Tags section.
In the Tag box, add the following text:
It will appear in a grey lozenge, as you can see below.
Ensuring captions are on when you embed the video on your website
To make sure the captions appear when you embed it on your website, you’ll need to add a CC policy code to the embed code. This isn’t as complicated as it sounds!
To get the embed code, click on the Share button at the bottom of the video:
Then choose Embed:
A box will pop up with the embed code. Hit the Copy button to put it on your clip board.
Paste this code into a new Word document, where you’ll be able to add the following piece of code:
This goes right after the YouTube url (don’t leave a space) and the ” at the end of the url (you can see it in bold in the example below) :
<iframe title=”YouTube video player” src=”https://www.youtube.com/embed/eRofBpiNLFU?cc_load_policy=1” width=”560″ height=”315″ frameborder=”0″ allowfullscreen=”allowfullscreen”></iframe>
Copy this new code and paste in on to your website. The subtitles will appear automatically when embedded on your website.
Forcing subtitles in a particular language
To force the subtitles to appear in a particular language, you need to add the Language preference code to the embed code.
This will go right after the CC policy code, don’t leave a space between them.
Replace [language id] with the two-digit code for the language you require (scroll to the bottom for a list of language codes).
In the example below, you’ll see we’ve used so for Somali.
<iframe title=”YouTube video player” src=”https://www.youtube.com/embed/eRofBpiNLFU?cc_load_policy=1&cc_lang_pref=so” width=”560″ height=”315″ frameborder=”0″ allowfullscreen=”allowfullscreen”></iframe>
So this is the same video as at the top of this post with the voice in English, but this time the Somali subtitles appear by default.
Language ISO Code
Bengali (Bangla) bn
Byelorussian (Belarusian) be
Chinese (Simplified) zh-Hans
Chinese (Traditional) zh-Hant
Gaelic (Scottish) gd
Gaelic (Manx) gv
Haitian Creole ht
Hebrew he, iw
Indonesian id, in
Kinyarwanda (Ruanda) rw
Kirundi (Rundi) rn
Latvian (Lettish) lv
Limburgish ( Limburger) li
Oromo (Afaan Oromo) om
Pashto (Pushto) ps
Sichuan Yi ii
Swahili (Kiswahili) sw
Yiddish yi, ji