Looking for the old docs? Go here

Hooks

createTextTrack

This hook is used to create and add a new text track to the player.