O'Reilly logo

Drupal 7 Media by Liran Tal

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required