Audio player

While most of our examples have shown how to use Media Chrome for video playback, it’s just as practical to use it to build an audio player as well.

Since audio players don’t use the same visual layout as video players do, we can present a much simpler UI to the user. You can use the audio attribute to strip away the unused standard positioning slots from your player.

<script type="module" src=""></script>

<media-controller audio>
    <media-time-display showduration></media-time-display>