FrameworkStyle

MuteButton

A button component for muting and unmuting audio playback

API Reference

Props

Prop Type Default
disabled boolean false
label string | function ''

State

State is accessible via the render, className, and style props.

Property Type Description
muted boolean Whether audio is muted.
volumeLevel VolumeLevel

Derived volume level:

  • off: muted or volume is 0
  • low: volume < 0.5
  • medium: volume < 0.75
  • high: volume >= 0.75

Data Attributes

Attribute Description
data-muted Present when the media is muted.
data-volume-level Indicates the volume level.

Video.js is a free and open source HTML5 video player.
The term VIDEO.JS is a registered trademark of Brightcove Inc.
© 2010–2026 Video.js contributors  |  Sponsored by Mux

VideoJS