Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] VTT Format invalid #81

Closed
mutschler opened this issue Jan 30, 2024 · 1 comment
Closed

[BUG] VTT Format invalid #81

mutschler opened this issue Jan 30, 2024 · 1 comment

Comments

@mutschler
Copy link

Description

The Generated vtt file is not compatible with W3C Spec of webvtt.

To Reproduce

Steps to reproduce the behavior:

  1. Download webvtt file
  2. Open File

Currently the file is created like this:

WEBVTT

1
00:00:00,820 --> 00:00:04,799
- Here goes the Text

Should be according to https://w3c.github.io/webvtt/

WEBVTT

1
00:00:00.820 --> 00:00:04.799
Here goes the Text

Any reason why the time is seperated by , instead of . for milliseconds and every line is prefixed by - ?
Afaik the hyphen is only used to tell the player that there should be a new line. and can be discarded if there is no manual line breaks

From reading the Specs basic WebVTT is basically what you already provide by srt with WEBVTT followed by a empty line added at the top.

@pluja pluja closed this as completed in 41b5dbd Jan 30, 2024
@pluja
Copy link
Owner

pluja commented Jan 31, 2024

this should be fixed in the latest release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants