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 using HTML5's <audio>
tag.
Adding a new content type
Tracks will be the name of our new content type, for users to be able to upload their songs, vocals, instrumental music tracks, or audio content in general. Once uploaded, they will be...