I am wondering what the best, lightweight,responsive audio player is for Drupal. Will play files hosted on website. Needs ability to make a playlist of audio tracks, to play one after the other, not just a single track.

Thanks in advance!

Comments

Chris Matthews’s picture

I'm not sure if it's the "best", but https://www.drupal.org/project/jplayer should fit your needs.

VM’s picture

There are multiple media players that fit this request for Drupal 7.x. I suggest installing a few on a dev site to determine which one is "best" for your requirements.

sprite’s picture

Also, consider the following player module, soundmanager2, which integrates with the javascript library of the same name, and which uses the audiofield module as a base html5 audio player.

https://www.drupal.org/project/soundmanager2

https://www.drupal.org/project/audiofield

You will need to apply the bar ui patch and use the "bar ui" which provides a multi-file playlist facility.

I've never used the multi-file playlist feature in soundmanager2, but it is there, so you will need to figure that out. You may need to do some extensive reading about the soundmanager javascript library and its many features described in the documentation at its site in order to figure out the multi-file playlist configuration details.

http://www.schillmania.com/projects/soundmanager2/

As VM notes, there are additional audio players available. The best way to figure it all out is to setup a Drupal testing site, install them, patch them if needed (soundmanager2), and work with them to determine which can implement your requirements.

I use the soundmanager2 solution on multiple D7 sites, but was willing to do the work to customize the module, and do a lot of reading about working with the soundmanager2 library to get it all to function as I wanted.

---

On Drupal 8, the D8 version of the audiofield module integrates with soundmanager2 out of the box, but doesn't include any admin UI for customizing the soundmanager2 display (there is some in the D7 module), so it too still requires some hacking and fiddling with the module's code, especially the part where it integrates the soundmanager2 HTML markup details, to get the desired player display styling. For example, the markup needs to be changed to stretch and fill "100% width of its div box to look right, IMO, but that was a simple hack, and no worse that the fiddling required in the D7 situation. Once functional, the soundmanager2 bar ui setup looks very nice, and its UI can be CSS styled (more fiddling documented by the library) to integrate really well with any site theming and colors.

https://www.drupal.org/project/audiofield

spritefully yours
Technical assistance provided to the Drupal community on my own time ...
Thank yous appreciated ...

krasniy’s picture

Thank you!

kristofferrom’s picture

Here's a module I've had built for my company: https://www.drupal.org/project/sound_management

It's still early days, but to my knowledge it's the only Drupal module where audio fields are formatted as playable links for an audio player in a block (as opposed to having the field become the player itself. That approach mirrors what people are use to on Spotify etc. 

Co-maintainers are welcome;).