
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">×</button>
<h3>Cisco VPN for Mac OS</h3>
</div>
<div class="modal-body">
<div id="vpn-player5">Loading the player ...</div>
<script type='text/javascript'>
jwplayer('vpn-player5').setup({
'width': '640',
'height': '360',
'playlist': [{
'file': '@Url.Content("~/Content/videos/MacVideos/CiscoForMACs.mp4")',
'tracks': [{
'file': '@Url.Content("~/Content/videos/MacVideos/CiscoForMACsCaptions.srt")',
'label': 'English',
'kind': 'captions',
'default': 'false'
}]
}]
});
</script>
</div>
<div class="modal-footer"><a href="#" class="btn" data-dismiss="modal" >Close</a> </div>
</div>