Extensibility

Icons

Reskin every icon the HUD and controls draw, via the shared @munsonlabs/sigil registry.

Every icon the HUD and controls draw is resolved by name through @munsonlabs/sigil, registered as the mlv library, and pinned there with library="mlv" - so sigil's use() never reaches it, and a page that uses sigil for its own icons can't blank the player's controls by accident.

override replaces one icon, scoped to mlv so it can't collide with your own page's icon of the same name; registering your own mlv library replaces the whole set, before or after the player loads, from anywhere on the page - registering under an existing name replaces it, so every mounted player follows with no rebuild. A replacement set must answer every name in the table below; there is no fallback to the built-in icons for names it lacks. unregister('mlv') puts the built-in set back.

import { override, register } from '@munsonlabs/sigil'

// one icon
override('play', '<svg viewBox="0 0 24 24" fill="currentColor"><path d="…"/></svg>', { library: 'mlv' })

// the whole set, from your own SVGs or a CDN
register('mlv', {
  resolver: (name) => `https://cdn.example.com/player-icons/${name}.svg`,
})
NameWhere it appears
play, pause, replayPlay/pause button, ended and error states
volume-on, volume-muteMute button, volume panel, ad overlay
fullscreen-enter, fullscreen-exitFullscreen button
captions, quality, loopControls popup
pip, skip-next, moreControls popup, stage
controls, expand, closeHUD "show controls", pinned stage
backPopup sub-menus

Icons draw with currentColor, so --ml-video-btn-color applies to a replacement too:

Loading player…

The npm build lists @munsonlabs/sigil as a dependency, so your bundler dedupes it with your own imports. The web-component bundles carry their own copy, keeping their bare imports to vue, hls.js and dashjs; a script that imports @munsonlabs/sigil from anywhere still reaches the same registry, because the shared instance lives on globalThis.

munsonlabs · MIT licensed · © 2026