Audio

Plays audio in the browser.

The Wisej Audio control allows users to play media from a given audio file.

For a full list of properties, methods and events see the API documentation.

Features

AutoPlay

If the AutoPlay property is specified, the audio will automatically begin playback as soon as it can do so, without waiting for the entire audio file to finish downloading.

The user must interact with the page first before audio can be played. See https://developers.google.com/web/updates/2017/09/autoplay-policy-changes#webaudio

Controls

The browser offers controls to allow the user to control audio playback, including volume, seeking, and pause/resume playback.

The Audio control has a different appearance depending on the browser. See Media.

Advanced

JavaScript Widget

ItemDescription

Class name

"wisej.web.Audio"

Source code

Last updated