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

CC button check

if we assume that captions exist for all video files - we could show the caption button without doing a server call. Then, if the user presses the caption button to turn captions on, pause the video and display a message (like "loading captions"). If captions exist, display them. If captions do not exist, show a message ("sorry, captions are not available for this video).

2 Community Answers

Sudhir Ranjan Rout

0 rated :

playlist: [{
file: "jwplayer-7.2.2/MUNA.mp4",
titile: "My file",
displaytitle: true,

tracks: [{
file: "jwplayer-7.2.2/MUNA.vtt",
label: "English",
kind: "captions",
"default": false


captions: {
color: '#FF33F9',
fontSize: 24,
backgroundOpacity: 20


jwplayer().on('volume', function(e) {
alert("Volume is changed to: "+ e.volume);


JW Player Support Agent  
0 rated :


You seem to have another post about this. I’ll be closing this ticket now.

This question has received the maximum number of answers.