Compose the live behaviors into the VoD engine so one composition handles both VoD and live, keying every live-vs-VoD decision off playlist completeness rather than streamType: - resolveSelectedTrackDuration: new completeness-based duration resolver, now the engine default. Returns the resolved track's finite duration when its playlist is complete (#EXT-X-ENDLIST), else Infinity (still growing → live). Keys off completeness because deriveStreamType marks any playlist lacking #EXT-X-PLAYLIST-TYPE:VOD as 'live', which would wrongly force Infinity on a plain VoD stream that only carries #EXT-X-ENDLIST. - seekToLiveEdge: guarded to no-op for complete playlists, so it's inert for VoD when composed unconditionally. - createSimpleHlsEngine: composes scheduleVideoTrackReload/Audio/Text, anchorLiveTracks, and guarded seekToLiveEdge — all inert for VoD (complete playlists never reload; the anchor is a no-op without PDT / shift 0). Adds the startSequence config knob. Also make updateMediaSourceDuration's live write defer to a non-updating SourceBuffer instant: Infinity needn't precede appends (it overrides any finite live-edge value an append pinned), but the MSE spec forbids setting duration while a buffer is updating, so a racing synchronous write threw. Verified live playback end-to-end through createSimpleHlsEngine (real-time, presentation.duration Infinity, seeked to edge) against a Mux LL-HLS stream; full VoD suite green (1071 passed). The separate live engine is retained for now. Known follow-up: mediaSource.duration can stay finite during initial buffer fill (continuous appends leave no idle instant) — to be fixed by writing Infinity synchronously at sourceopen, ahead of the buffer actors. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Video.js v10
Modern, modular, and composable media player framework for Web and React.
🚧 Beta - close to stable. Experimental adoption in real projects. 🚧
Video.js v10 is close to stable. Try it out in real projects and share your feedback 🙏.
- Read our design documents.
- Read the v10 discussion topic.
- Watch Heff's recent presentation.
Timeline
- Technical Preview (Complete): Initial showcase for Demuxed.
- Alpha (Complete): See milestone
- Beta (Complete): See milestone
- GA (Mid 2026): See milestone ← WIP
- Video.js (End of 2026): Video.js core/contrib parity and supported plugins migrated.
Documentation
If you'd like to get started and learn more, you can find our documentation on our website:
Community
If you need help with anything related to Video.js 10, or if you'd like to casually chat with other members:
Contributing
We'd love for you to join our community channels above and give us feedback! Feedback on any of the following would help us:
- Player skin designs
- Component structures and APIs
- Package structure and exports
- Repo, workspace, contributor guides
Please see our contributing guide for getting set up locally and making code or docs changes.
Code of Conduct
Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.