getting the video's current vttcue frame information

I am trying to build a live video captioning editor and require that I fetch the current video frame's VTTCue information (startTime, endTime, text). How do I go about accomplishing this? Thanks.

1 answer

  • answered 2017-06-17 18:03 manioc

    nevermind. video.textTracks[0].oncuechange is what i needed to accomplish my goal.