Minimal audio skin
Compact responsive audio controls for playback, time, volume, speed, and feedback
Use it for audio playback in a narrow or secondary surface.
Use the packaged preset
import { AudioPlayer, MinimalAudioSkin } from '@videojs/react/audio';
import { Audio } from '@videojs/react/audio';
import '@videojs/react/audio/minimal-skin.css';
export function Player() {
return (
<AudioPlayer>
<MinimalAudioSkin>
<Audio src="audio.mp3" />
</MinimalAudioSkin>
</AudioPlayer>
);
}Customize the skin
Packaged skins support --media-accent-color, --media-accent-text-color,--media-border-radius, and --media-scale-unit. Add your own class name and style values to the skin root.
See Customize skins for the complete styling and ownership workflow.
Behavior and API
- The packaged export is
MinimalAudioSkinin React and<audio-minimal-skin>in HTML. - The on-demand preset includes duration and seeking behavior.
- Minimal keeps the same feature family in a smaller responsive layout.
For player state and feature details, see Presets. For the UI building blocks, see UI components.