question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support WebVTT files

See original GitHub issue

I need to process either SRT or VTT files depending on what is available. If I work on adding support for VTT files (which is superset of SRT) would that be something you would consider merging?

I think just stripping the web VTT header and styling when parsing will be a good start. Then VTT input will be supported with SRT output. A further step might be to keep the additional info in the captions array as well, from where it could then be added back in stringify.

I’ll open a PR once I’ve made some progress over the coming days.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:2
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
gsantiagocommented, Feb 15, 2018

Actually, I’m not working on the parse anymore. You can ignore my commits at development branch. I will focus now on solve the #18 and #19 issues.

So, there are no problems if you want to improve the parse or any other function for now.

0reactions
gsantiagocommented, Mar 7, 2018

@marnusw thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Web Video Text Tracks Format (WebVTT) - Web APIs | MDN
The primary purpose of WebVTT files is to add text overlays to a <video> . WebVTT is a text based format, which must...
Read more >
VTT File Extension - What is a .vtt file and how do I open it?
You can open and edit a VTT file using any text editor, such as Microsoft Notepad (Windows), Apple TextEdit (Mac), or GitHub Atom...
Read more >
WebVTT Captions: How to Create a Web Video Text Track File
The WebVTT caption format is a popular alternative to SRT files. Here is a comprehensive guide to creating your own WebVTT caption file....
Read more >
Closed Captioning for Web Video Support with SRT and VTT ...
First, Dacast's supported caption files include SRT (SubRip Text, aka SubRip Title) and VTT (Video Text Tracks, aka WebVTT) files.
Read more >
How to Open VTT Files | GoTranscript
A VTT file, also known as WebVTT or a "Web Video Text Track" file, is a commonly used caption and subtitle format with...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found