Buttons
Play Button
This component is used to play and pause media.
Usage
The <media-play-button>
component will toggle the paused
state of media as it's pressed by dispatching a media-play-request
, and media-pause-request
event to the media controller.
Styling
You can override the default styles with CSS like so:
Focus
Custom Icons
Here's an example containing a custom play and pause icon:
Previous
<-
Toggle Button
Next
Mute Button
->