I
I
ImVeryStupid2019-08-19 16:22:22
YouTube
ImVeryStupid, 2019-08-19 16:22:22

How to get the exact current timecode? - or - How to integrate your subtitles into someone else's video on YouTube?

I am making an extension for YouTube that will show subtitles not in two lines, but in one word. As it turned out, YouTube stores automatic subtitles in an xml file where the exact timecodes of each word are indicated up to a millisecond, and which can be obtained simply by turning on subtitles. Now the question is how to get the exact current timecode so that you know exactly when to output which word? YouTube gets this value from somewhere. Please tell me in which direction to move?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question