Close Docs

MediaElement (<disco-media-element>)

Audio/video media control with custom Metro-style circular play/pause button, timeline, loading state, and volume flyout.

Usage

<disco-media-element src="https://www.w3schools.com/html/horse.mp3"></disco-media-element>

<disco-media-element
  kind="video"
  src="https://test-videos.co.uk/vids/bigbuckbunny/mp4/h264/1080/Big_Buck_Bunny_1080_10s_5MB.mp4"
></disco-media-element>

Behavior

Attributes

Methods