Audio Embed Field creates a simple field type that allows you to embed audio.

Soundcloud and custom urls plugins are provided with module.

Sub-modules also provided for integration with Drupal core media and media_entity.

Audio embed field simply creates an embedded audio player, to play attached
media.

Requirements

For the audio_embed_media module, you will need the media_entity module.

For the audio_embed_media_core module, you will need the core media module.

The base module also requires field and image from core.

The module can make use of colorbox, but it is not required.

Install

Install via composer:

composer require drupal/audio_embed_field
drush en audio_embed_field

More install notes below:

  • Install as usual as per http://drupal.org/node/895232 for further information.
  • You can add Audio embed fields via the normal interface on content types.
  • If using media_entity, the audio_embed_media module included provides a media_entity bundle bridge.
  • If using core media, the audio_embed_media_core module provides a media source
    for creating a new media type.
  • When you add fields, select the providers you want to use, including Custom URL and Soundcloud. If using Soundcloud, you need to obtain a client ID from the Soundcloud
  • Developers site: https://developers.soundcloud.com/

Customize

You may override the template files in the /templates folder in your custom theme.

See Twig debugging output for possible override suggestions.

Supporting organizations: 

Project information

Releases