Autoplay

Specifies whether the audio file is to be started directly.

Autoplay 1:

In some browsers this is not allowed by default. In part this is possible again when the sound is switched off.

Schema:tchmi:general#/definitions/Boolean

Attribute getter

public getAutoplay(): boolean | undefined;

Parameter

Name

Type

Description

-

-

-

Return value

Type

Description

boolean, undefined

The current value of the attribute.

Attribute setter

public setAutoplay(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.

Autoplay 2:

Available from 1.8