/videojs-captionToggle

A plugin to make closed caption button with toggle functionality for [video.js](https://github.com/videojs/video.js/)

Primary LanguageJavaScript

Video.js Caption Toggle

A plugin to change caption button to toggle in Video.js.

Using the Plugin

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">

Notes

  • closed captions functionality will not work without server.