Nuevo plugin version 9.7.0 features an easy function to adjust one or more styles of text tracks at any time, before video start to play or during video playback. Before using this new function, you need to learn which styles of text tracks you can adjust and what are allowed values for each style. Without changes to videojs source code this is not possible to use other style values than described below.
fontFamily - default: "proportionalSansSerif" Other allowed font families are: "monospaceSansSerif", "proportionalSerif", "monospaceSerif", "casual", "script", "small-caps" Without changing video.js source code it is not possible to use other font family.
Nuevo plugin's function allows to change one or more styles described above. See examples of the function usage:
You can use this function once the player is loaded and later, during playback as well. textTracksStyle is Nuevo plugin's function, so it can be called once Nuevo plugin is loaded. So if you want to adjust text tracks style before video start, call it as in example below: