- Captioning
How to Add JW Player Subtitles and Captions
How to Add Captions and Subtitles to JW Player videos
To display closed captions and subtitles on JW Player videos, you’ll need to update the video embed code on your website. Upload a caption file to your website’s file repository, and make a note of the URL.
In your website’s HTML editor, locate the code for the desired video and add a track tag between the playlist brackets. Reference the appropriate caption file URL, and your video will now display a CC symbol among the controls.

Here’s what it looks like to add captions to JW Player video code:
Why add captions in JW Player?
JW Player offers significant customization options for caption formatting, including:
- font
- text color
- caption size
- font and background opacity
- background color
- styling (i.e. dropshadow, raised, embossed)
What caption format does JW Player require?
Since JW Player is an HTML player, it supports closed captions in WebVTT format. SRT files are also accepted, but WebVTT is preferable for its customization and display options.
How to use the HTML track element?
The track
element can be used to add timed-text data enhancements like subtitles, closed captions, audio description, and chapter markers to your video. Note that multiple track elements can be used simultaneously.
The track
tag should include the following elements:
File: the URL of your caption file
Label: a given title for the captions track
Default: specifies the track is enabled by default
Kind: optional, but can be used as an identifier if using multiple caption/subtitle tracks
Filed under
Share this page
Related Resources
-
Read more: Event Planning Workbook
- Whitepaper
Event Planning Workbook
-
Read more: European Accessibility Act (EAA) Checklist
- Whitepaper
European Accessibility Act (EAA) Checklist
-
Read more: Questions to Ask a Dubbing Vendor
- Whitepaper
Questions to Ask a Dubbing Vendor