prepareWebVTTCaptions

Prepares the rendered View blocks for all captions listed in the given WebVTTDocument. This initially clears the state of the current caption blocks and time position mapping.

Parameters

document

the WebVTTDocument containing the captions to prepare