<< Go Commands << Go Home

Command @audio

Description:

Inserts an audio in a page.
 
Warning: command only works inside a .tg9 file.

Syntax:

@audio
@@src
@@autoplay
@@loop
@end_audio

Parameters:

Param @@src
description: path to audio file
options: path to audio file
default:
optional: no
Param @@autoplay
description: automatically starts audio
options: false, true
default: false
optional: yes
Param @@loop
description: loop audio
options: false, true
default: false
optional: yes
Obs: parameters can be put in any line order

Example:

1 @audio
2 @@autoplay false
3 @@src demo.mp3
4 @end_audio

Output: