WebVTT API Demo
Render an HTML5 <video> with a WebVTT track and read the active cue
from F# through the
WebVTT API.
Video with subtitles
The <track> element is attached from F# and driven through TextTrack.
Active cue
Updated by the track's cuechange event through TextTrack.oncuechange.
${caption}
- Text tracks
- ${trackCount}
- Status
- ${trackStatus}
${lastEvent}