LengthVtt
Initializes a Length object by parsing the given expression. For more information on valid parsing, visit https://www.w3.org/TR/webvtt1/#cue-timings-and-settings-parsing Examples:
- 4.5%
- -1
- 0
Parameters
expression
the string expression to parse
See also
<a href="https://www.w3.org/TR/webvtt1/#cue-settings">https://www.w3.org/TR/webvtt1/#cue-settings</a>
Initializes a Length object using the given numeric value and Unit specification.
Parameters
value
the numeric value of the length
unit
the units for the length value