Manage audio files

You can upload and store .mp3 or .ogg audio files. Once uploaded, you can reference audio files using HTML.

Before you begin

Role required: image_admin

About this task

The Database Storage for Audio Files (com.glide.db_audio) feature must be activated to store audio files. It is activated by default, but if necessary, an administrator can activate it. For more information, see Activate a plugin.

Procedure

  1. Navigate to System UI > Audio Files.
  2. Click New.
  3. Enter a Name for the audio file, including the file extension.
  4. Add the Audio file.
  5. Save the record.
  6. (Optional) Complete the following steps to reference audio files using HTML.
    1. Use the <audio> HTML tag and set the src attribute to the name of the file as set by the Name field of the Audio record.
    2. Use the controls attribute to display the audio controls.
      Use the following HTML.
      <audio src="Beep.mp3" title="Beep" control="control"/>