Sound

Plays an audio file, either automatically or interactively.

Properties

NameTypeDefaultDescription
srcStringPath to the sound file, e.g. ’sounds/intro.mp3′.
autoplayStringfalseIf ‚true‘, the sound will play automatically.
loopStringfalseIf ‚true‘, the sound will loop continuously.

Allowed Roots

← Back to Element Reference