Subtitles are a way of providing translation from one language to another for content on your website.
Captions are a method for providing a text alternative for visitors who have hearing issues or simply are not using technology that plays sound.
Captions provide dialogue, indicate who is speaking, and convey non-speech information, including meaningful sound effects, through sound.
When providing a caption to an audio file, it is important to specify that the attribute kind="captions"
. The following is a sample of captions being provided to an audio element.
<audio>
<source src="myAudioFile.mp3" type="audio/mp3">
<track src="myAudioCaptions.vtt" kind="captions" srclang="en" label="english_captions">
</audio>
Note: Be sure that a .vtt corresponding file exists for the audio file and that you are providing the correct path to that file on the website. If you do not have a captions file for your audio, it is advisable to provide a transcript. A transcript can always be utilized to later create a captions file.
If you have questions, please contact our DubBot Support team via email at help@dubbot.com or via the blue chat bubble in the lower right corner of your screen. We are here to help!