Open Bug 1703895 Opened 3 years ago

Refactor the vtt parser

Categories

(Core :: Audio/Video: Playback, task, P3)

task

Tracking

()

People

(Reporter: alwu, Unassigned)

References

(Blocks 1 open bug)

Details

Our vtt parser doesn't follow the parsing step defined in the spec, and works based on the self-defined state machine. Also, we might consider moving the parser outside the vtt.jsm and make it a separate JS module.

[1] https://www.w3.org/TR/webvtt1/#parsing

You need to log in before you can comment on or make changes to this bug.