Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

Closed Caption with VTT or SRT not working

I am trying to add a simple closed caption with VTT or SRT files. The player loads and the video plays just fine and also shows CC button enabled but my VTT file is not read and the CC text are not displaying.

What am I missing?

here is my code:

<script src="/jwplayer/jwplayer.js"></script>
<script>jwplayer.key = "XXXXXXXXXXXXi1RXlWpLd8NXXXX==";</script>
<div id="myElement">Loading the player...</div>
<script type="text/javascript">
primary: 'flash',
playlist: [{
sources: [{
file: 'samplevideo.mp4',
title: "Sample Movie Trailer",
tracks: [{
file: "",
label: "English",
kind: "captions",
"default": true
file: "frenchcaption.vtt",
kind: "captions",
label: "French"



1 Community Answers

Ethan Feldman

JW Player Support Agent  
0 rated :

Please provide a link.

This question has received the maximum number of answers.