File

projects/components/widgets/basic/default/src/audio/audio.component.doc.ts

Description

The wmAudio component defines the audio widget.

Inputs

audiopreload
Type : string

This property allows to control how the audio should be loaded when page loads .

Allowed Values: none - default, metadata, auto

none - default: Restricts the audio from loading on page load.

metadata: Loads only the metadata on page load.

auto: Loads the entire audio on page load.

enableautoplay
Type : boolean
Default value : false

This property will be used to play the audio when page loads.

enablecontrols
Type : boolean
Default value : true

This property will be used to enable controls for audio widget on the web page.

hint
Type : string

Hint text is shown for the audio on hover.

Bindable: true

loop
Type : boolean
Default value : false

This property will be used to allow the audio to be replayed, when completed.

mp3sourcepath
Type : string

The property allows to set the file path of the mp3 for the audio widget.

Bindable: true

mute
Type : boolean
Default value : false

This property will be used to allow the audio output to be muted.

name
Type : string

Name of the audio widget.

show
Type : boolean
Default value : true

This property will be used to show/hide the audio widget on the web page.

Bindable: true

supportmessage
Type : string

The property allows to set the message when audio file is not supported for the audio widget.

tabindex
Type : number
Default value : 0

This property specifies the tab order of the Audio Widget.

results matching ""

    No results matching ""