Open kloon15 opened 11 months ago
What is actually missing is parsing the html tags in .srt
(and other formats as well) and writing them in .vtt
(and other formats as well).
I won't have time to work on this anytime soon but I'm welcoming PRs. I can point towards the proper direction 👍
What is actually missing is parsing the html tags in
.srt
(and other formats as well) and writing them in.vtt
(and other formats as well).I won't have time to work on this anytime soon but I'm welcoming PRs. I can point towards the proper direction 👍
I see, well i have some javascript code that does srt to vtt with styles as a starting point, but im far from a go dev. How complicated would this be in go?
Regarding parsing html tags in .srt
we'd have to:
parseTextSrt()
method similar to parseTextWebVTTRegarding writing htmk tags in .srt
we'd have to:
(li LineItem) srtBytes() (c []byte)
method similar to webVTTBytes
2_Eng.zip
The simplified code: