DONT ADD ANYTHING HERE!

Code

HTML

    <video src = "../videos/fish.mp4" controls muted ></video> 

JavaScript

    let video = document.querySelector("video");
    let track = video.addTextTrack("captions", "Captions", "en")

    track.mode = "showing";
    track.addCue(new VTTCue(0.2, 1.9, "Hello World"));
    track.addCue(new VTTCue(2.0, 2.9, "Goodbye"));
    console.log(track.cues); 

CSS

    ::cue {
        font-size: 3em;
      } 

References