Comments (1)
Whilst the format does require that cue timings must have two or more digits if hours are in use (https://w3c.github.io/webvtt/#webvtt-timestamp), the algorithm specified for parsing timestamps explicitly does not validate that hours has two or more digits (https://www.w3.org/TR/webvtt1/#collect-a-webvtt-timestamp).
As stated in #17 (comment), webvtt.js implements that timestamp parsing algorithm as written in the spec, with the validator based on that.
from webvtt.js.
Related Issues (20)
- Support `position:10%,start` cue setting
- Incorrect escape. HOT 2
- Serializer generates invalid WebVTT HOT 2
- Serializer: Fallback to `tree` property if unavailable HOT 3
- publish to npm HOT 8
- Timestamps with one digit allowed HOT 7
- Adding a license to this project HOT 2
- Line Numbers with reference
- Region definition block incorrectly parsed as cue
- Style block incorrectly interpreted as cue HOT 1
- File '/node_modules/webvtt-parser/parser.js' is not a module/Unexpected token in parser.js HOT 1
- CDN for quick usage HOT 2
- wrong warning: 'No blank line after the signature' HOT 1
- Entities object incorrectly passed to WebVTTCueTextParser
- Escape entities not correctly parsed/escaped HOT 1
- Online version is outdated HOT 5
- [Enhancement] RFC8216 - support X-TIMESTAMP-MAP HOT 4
- Cue id "0" lost in cue serialization
- Add TypeScript types HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from webvtt.js.