Mux Player uses Hls.js #5141
dylanjha
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In Summer 2022 we released the public version of Mux Player, it's implemented as a web component, it uses Hls.js internally. It's also all open source, so feel free to dig around. Links:
<mux-player>
source<MuxPlayer />
react component sourceplayback-core
lib, which is shared between of bunch of the various playback-related packages in the repo)The UI for Mux Player like the controls is built with Media Chrome. We found that Media Chrome works well when paired with Hls.js because they handle 2 separate concerns: (1) the actual requesting manifests & media segments, downloading it, parsing it and playing it is done by Hls.js and (2) the UI of controls that the user can internact with is done by Media Chrome.
Beta Was this translation helpful? Give feedback.
All reactions