Video.js - Change video source with captions programatically
Few months ago we have posted about Nuevo plugin function changeSource. which allows to change video source(s) programmatically, including change of several other video settings like video poster, video title and thumbnails slide image. The function proved to be useful also for playlist of videos introduced through Nuevo plugin.
Some of our users asked about option to change also captions or chapters for new video source. This is possible using custom Nuevo plugin function. When changing video source, now text tracks, video tracks and audio tracks are reseted automatically. You can assign new tracks programatically.