Skip to main content

Controls & playback

Playback speed, previous/next, and volume control.

audio

Preview

Props & interactive options

PropTypeDefaultDescriptionTry it
controlsurl param1Show player controls.

Try it in the player

Play / Pause

Click the play button or press Space to start or pause playback. The button toggles between play and pause states.

Previous / Next track

Navigate between tracks in a playlist using the previous and next buttons in the control bar.

Playback speed

Adjust the playback speed from 0.25× to 2× using the speed selector. Useful for podcasts, audiobooks, or language learning.

Volume & mute

Use the volume slider to adjust the level, or click the speaker icon to mute. On mobile, the system volume is used instead.

Progress bar

Click or drag anywhere on the progress bar to seek to a specific position. The elapsed and remaining time are displayed alongside the bar.

Documentation

The audio player provides a full set of playback controls: play/pause, previous/next track, a playback speed selector (from 0.25× to 2×), a volume slider with mute toggle, and a progress bar with seek support. On mobile devices the volume slider is hidden as the system volume is used instead.

Code

HTML
<iframe
  id="videas-019dcfae-f45e-74ab-b9e5-95717151c5b7"
  src="https://app.videas.com/embed/019dcfae-f45e-74ab-b9e5-95717151c5b7/"
  width="100%" height="200"
  frameborder="0" allowfullscreen
></iframe>
<script>
window.addEventListener('message', function(e) {
  if (e.data && e.data.type === 'videas:embed:resize') {
    var f = document.getElementById('videas-' + e.data.embedId);
    if (f) f.style.height = e.data.height + 'px';
  }
});
</script>

Frequently asked questions

Why is the volume slider hidden on mobile?

iOS and Android block JavaScript from changing the audio volume of media elements — only the hardware buttons can. Showing a slider would suggest something that doesn't work, so the player hides it and defers to the native OS volume.

Which playback speeds are available?

0.25×, 0.5×, 0.75×, 1× (normal), 1.25×, 1.5×, 1.75× and 2×. The pitch is preserved across all speeds, which makes 1.25–1.5× a comfortable default for podcasts and audiobooks.

Does the player remember the user's preferences?

Yes — volume level, mute state and playback speed persist in <code>localStorage</code> per embed domain, so returning listeners land on their previous settings without having to re-configure.