Videojs Subtitles/Captions Menu

This is an alternative to the CC button with a drop-down subtitles menu;
The plugin allows you to display the subtitles menu from the settings menu, and the CC button is only used to turn subtitles on/off.
Code snippet
// Load javascript files
<script src="/videojs/videojs.min.js"></script>
<script src="/videojs/nuevo.min.js"></script>
<script src="/videojs/plugins/videojs.ccsubmenu.js"></script>
// Initialize the player and plugins
const player = videojs("my_player", {license: "license-key"})
player.nuevo({ contextMenu:false, pipButton:false});
player.ccsubmenu();
If you prefer to hide Subtitles/Captions button and keep only Subtitles menu you can order to hide button using appropriate ccButton option:
Code snippet
const player = videojs("my_player", {license: "license-key", ccButton:false, contextMenu:false, pipButton:false })
or
player.nuevo({ ccButton:false, contextMenu:false, pipButton:false });