Using the track API to extract the content of webVTT files in <track> elements

Click on the buttons under the video to extract the english or german subtitles

Look at the HTML and JS code.

Edit in JS Bin