Helper: filemanager/audio

« All helpers

Embeds an audio player.

Used by the file manager in the WYSIWYG editor when it recognizes an MP3 audio file being embedded.

In PHP code, call it like this:

echo $this->run ('filemanager/audio', array ('file' => 'my-song.mp3'));

In a template, call it like this:

{! filemanager/audio?file=my-song.mp3 !}

Parameters:

  • file - The MP3 file to play

Also available in the dynamic objects menu as "Audio Player (MP3)".