The transcription plugin does not work properly with HLS or DASH in-band VTT captions when captions come only from the current fragment and only one language is exposed to the player. For the same reason, the transcription plugin will not work for live streams.
The basic usage of a transcription plugin is quite simple.
Code snippet
<link href="/videojs/skins/nuevo/videojs.min.css" rel="stylesheet"><script src="/videojs/video.js"></script><script src="/videojs/nuevo.min.js"></script>
const player = videojs("my_player", {license: "key"});player.nuevo({contextMenu:false});player.transcript()If you set option timegap:0 - each transcription line will be equal to a single captions line.
It is possible to display transcription in a separate container, e.g. under the player. Just set empty <div> with some unique ID and assign it to the transript plugin's appropriate option option.
Code snippet
player.transcription({containerID: "transcript_div_id"})Code snippet
"Transcript": "Transcript","Close Transcript": "Close transcript","Search transcript": "Search transcript","Settings": "Settings","Close settings", "Close settings","Language": "Language","Timestamps: "Timestamps","Theme": "Theme","on": "on","off": "off","Dark": "Dark",