Audio – core/audio

Embed a simple audio player.

Use the Audio block to embed a simple audio player.

Screenshot

Example

Bobbing Wide, by Caravan. Reproduced with kind permission of Pye Hastings.

Notes

  • Audio settings options allow you to set the audio to autoplay and loop and to choose a preload value.
  • The preload setting values are: Auto, Metadata or None.
Replace
  • Change alignmentUse Change alignment to choose the alignment
    • Align leftAlign to the left
    • Align centerAlign in the center
    • Align rightAlign to the right
    • Wide widthIncrease the width of the block beyond the content size. Requires theme support.
    • Full widthExtend the block to cover the full width of the screen. Requires theme support.
  • ReplaceReplaceReplace the selected file.
    • Open Media LibraryChoose from the Media library.
    • UploadUpload a file.
  • More optionsDisplay more options
    • Show More SettingsShow the block settings in the sidebar.
    • CopyCopy the block to the clipboard.
    • DuplicateUse Duplicate to create a copy of the block.
    • Insert AfterInsert a new block after the selected block(s).
    • Insert BeforeInsert a new block before the selected block(s).
    • Move To Use Move To to move a block. Up/Down or Left/Right
    • Edit as HTMLEdit the HTML of the block.
    • GroupTransform the selected block(s) into a group.
    • Add to Reusable blocksCreate a Reusable block.
    • Remove blockDelete the block.

Audio transforms to:

  • Columns
  • File
  • Group