File

projects/components/src/widgets/common/audio/audio.component.doc.ts

Description

The wmAudio component defines the audio widget.

Inputs

audiopreload

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.

Type : string

enableautoplay

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

Type : boolean

Default value : false

enablecontrols

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

Type : boolean

Default value : true

hint

Hint text is shown for the audio on hover.

Bindable: true

Type : string

loop

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

Type : boolean

Default value : false

mp3sourcepath

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

Bindable: true

Type : string

mute

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

Type : boolean

Default value : false

name

Name of the audio widget.

Type : string

show

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

Bindable: true

Type : boolean

Default value : true

supportmessage

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

Type : string

tabindex

This property specifies the tab order of the Audio Widget.

Type : number

Default value : 0

result-matching ""

    No results matching ""