Enabling audio play

Our first task will be to enable audio uploads with audio play capabilities. Formerly, this was accomplished using a dedicated audio field type which third-party modules provided to extend content types using the Content Construction Kit (CCK) framework.

We've already been using the Media module for pictures and videos and we can make use of it to provide our audio content as well. Doing so will allow us to manage all of our media resources in the same place, using the media browser. Keeping in mind that the Media module is only about setting the grounds for managing media resources, we will need to enable a media player that will be able to stream those audio formats. Luckily, both MediaElement and MediaFront provide this support ...

Get Drupal 7 Media now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.