ReferenceExtensions
mux-data
Options for the Mux Data extension that monitors playback quality
Adds the Mux Data extension to the player. It renders nothing — place it anywhere inside the player, and it follows whatever media the player attaches. See Mux Data for how monitoring works.
Import
Or load it from the CDN:
Anatomy
Options
metadata and MuxDataSdk take objects, so they’re properties only, with no matching attribute. Set them on the element, typed as the MuxDataExtension class that @videojs/html/extensions/mux-data exports.
Changing MuxDataSdk, beaconCollectionDomain, debug, or disableCookies restarts monitoring, which ends the current view and starts a new one. The rest update the view in place.