In Html5, Video player I have upload a dynamic transcript file in (.vtt) file and on click of transcript lines which is shown on browser video moves forward or backward.
![enter image description here]()
![enter image description here]()
How can i achieve the same behaviour with youtube video? please suggest some logic. how can i build this in javascript?