<media-captions-button>

Button to show/disable captions

NameTypeDefault ValueDescription
no-subtitles-fallbackbooleanfalseControls whether media-chrome will show subtitle tracks if no closed captions tracks are available
NameDefault TypeDescription
onsvgAn element that will be shown while closed captions are on
offsvgAn element that will be shown while closed captions are off
<media-captions-button>
  <svg slot="on"><!-- your SVG --></svg>
  <svg slot="off"><!-- your SVG --></svg>
</media-captions-button>

See our styling docs