A plugin to change caption button to toggle in Video.js.
The plugin automatically registers itself when you include 'videojs.captionToggle.js' in your page:
<script src='videojs.captionToggle.js'></script>
You probably want to include the default stylesheet, too. It handles showing the image over the video:
<link href="videojs.captionToggle.css" rel="stylesheet">
- closed captions functionality will not work without server.