You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 10, 2022. It is now read-only.
When this package is included, the bundled hls.js chunk is a hefty 66.6kB gzipped. The hls.js package ships a dist/hls.light.js which is a lighter 49kB when gzipped, possibly even lighter post v1.0 (if #19 is fixed first).
The relevant section of hls.js' README includes the following:
NOTE: hls.light.*.js dist files do not include EME, subtitles, or alternate-audio support. In addition, the following types are not available in the light build:
AudioStreamController
AudioTrackController
CuesInterface
EMEController
SubtitleStreamController
SubtitleTrackController
TimelineController
If any of these features are relevant for sanity-mux-player, the package should allow opting out of them and bundle the light version of hls.js when the required conditions are met. If none of the listed features are required by sanity-mux-player, this package should simply migrate to using hls.light.js to lessen some of it's rather large bundle footprint. 🙂
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
When this package is included, the bundled hls.js chunk is a hefty 66.6kB gzipped. The
hls.js
package ships a dist/hls.light.js which is a lighter 49kB when gzipped, possibly even lighter post v1.0 (if #19 is fixed first).The relevant section of hls.js' README includes the following:
If any of these features are relevant for
sanity-mux-player
, the package should allow opting out of them and bundle the light version of hls.js when the required conditions are met. If none of the listed features are required bysanity-mux-player
, this package should simply migrate to using hls.light.js to lessen some of it's rather large bundle footprint. 🙂The text was updated successfully, but these errors were encountered: