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

Closed Captions on initially regardless of default setting of false

I finally got closed captions working on my site, but the closed captions are on when the video loads regardless of the default setting. This is true on all the browsers/platforms I've tested. Am I doing something wrong in my code? The videos are displayed in a Bootstrap modal window, but I don't know if that makes a difference.

<div id="vpn-player-cisco-mac" class="modal hide fade">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
<h3>Cisco VPN for Mac OS</h3>
<div class="modal-body">
<div id="vpn-player5">Loading the player ...</div>
<script type='text/javascript'>
'width': '640',
'height': '360',
'playlist': [{
'file': '@Url.Content("~/Content/videos/MacVideos/CiscoForMACs.mp4")',
'tracks': [{
'file': '@Url.Content("~/Content/videos/MacVideos/")',
'label': 'English',
'kind': 'captions',
'default': 'false'
<div class="modal-footer"><a href="#" class="btn" data-dismiss="modal" >Close</a> </div>

2 Community Answers


0 rated :

I seem to have answered my own question. When I remove the single quote (') from around the word false, it works as one would expect.

Ethan Feldman

JW Player Support Agent  
0 rated :

Glad you got it. It is a boolean, so no quotes are needed.

This question has received the maximum number of answers.