Files
v10/packages/spf
Christian PillsburyandClaude Opus 4.8 c39132a935 refactor(spf): parse X-TIMESTAMP-MAP LOCAL via split/reduce
Replace the regex + padEnd parseWebVttTimestamp with split(/[:.]/) + a reduce over
right-aligned weights — handles the [HH:]MM:SS.ttt hours-optional forms in one
expression. Behavior-equivalent for spec-valid LOCAL (X-TIMESTAMP-MAP is always
[HH:]MM:SS.ttt); intentionally narrows off the padEnd/undefined tolerance for
non-spec input. −51 B gzipped in the hls bundle; 6/6 tests pass.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-15 16:22:11 -07:00
..
2026-07-07 13:08:22 -05:00
2026-07-07 13:08:22 -05:00

@videojs/spf

package-badge

⚠️ Beta Experimental adoption in real projects.

Overview

@videojs/spf is a lightweight, bundle-size-optimized streaming engine for Video.js 10. It provides HLS playback with adaptive bitrate switching, WebVTT captions, and MSE support.

Community

If you need help with anything related to Video.js 10, or if you'd like to casually chat with other members:

License

Apache-2.0