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

Supports headers and omitting hours #1

Merged
merged 2 commits into from
Oct 11, 2020
Merged

Conversation

proudust
Copy link
Contributor

Allow text header

4.1. WebVTT file structure

A WebVTT file body consists of the following components, in the following order:

  1. An optional U+FEFF BYTE ORDER MARK (BOM) character.
  2. The string "WEBVTT".
  3. Optionally, either a U+0020 SPACE character or a U+0009 CHARACTER TABULATION (tab) character followed by any number of characters that are not U+000A LINE FEED (LF) or U+000D CARRIAGE RETURN (CR) characters.

Optional if the hours is zero

4.1. WebVTT file structure

A WebVTT timestamp consists of the following components, in the given order:

  1. Optionally (required if hours is non-zero):
    1. Two or more ASCII digits, representing the hours as a base ten integer.
    2. A U+003A COLON character (:)

@spaceribs spaceribs self-requested a review October 11, 2020 22:54
@spaceribs
Copy link
Owner

Looks great! pulling this down and checking it.

@spaceribs spaceribs merged commit 0c5e867 into spaceribs:master Oct 11, 2020
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

Successfully merging this pull request may close these issues.

None yet

2 participants