mirror of
https://github.com/zoriya/v10.git
synced 2026-08-16 02:45:09 +00:00
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>
@videojs/spf
⚠️ 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: