Controls

Specifies whether operating elements are to be displayed. The user can control playback, adjust the volume and pause/resume the audio file.

Controls 1:

Some browsers do not allow automatic or application-based start of an audio file. You should therefore carry out intensive tests to determine whether it makes sense to deactivate the operating elements.

Schema: tchmi:general#/definitions/Boolean

Attribute getter

public getControls(): boolean | undefined;

Parameter

Name

Type

Description

-

-

-

Return value

Type

Description

boolean, undefined

The current value of the attribute.

Attribute setter

public setControls(valueNew: boolean | null): void;

Parameter

Name

Type

Description

valueNew

boolean, null

The new value of the attribute. If null is passed, the internal default value is used.

Return value

Type

Description

void

No return value.

Controls 2:

Available from version 1.12.744