In case, you want to have an audio playback option in the browser...
And since we live in the HTML5 era...
You may want to consider HowlerJS, an "audio library for the modern web".
It's quite slick, isn't it? Great! Show me the module.
Module | D7 | D8 | Last commit | # o. issues | # act. installs |
---|---|---|---|---|---|
audiofield | ✔ | ✔ | > 1 d | 52 | 12484 |
mediaelement | ✔ | ✗ | 5 y | 102 | 13159 |
jplayer | ✔ | ✗ | 1 y | 107 | 8504 |
mediafront | ✔ | ✗ | 2 y | 421 | 5352 |
audio_streaming_player | (✔) | ✗ | 10 m | 2 | 100 |
mp3player | (✔) | ✗ | 3 m | 48 | 1311 |
soundmanager2 | (✔) | ✗ | 4 y | 64 | 2462 |
scm_music_player | (✔) | ✗ | 1 y | 4 | 25 |
(a) Use another library? Supported by one of the existing contribs, like audiofield? :-)
(b) If you insist, maybe check how to integrate HowlerJS with one of the existing contribs?
(c) If you really insist and wanna DIY, you should implement your own module
N.B.: Not really serious about this. We probably should go with audiofield.
Unless the requirements' overlap is too small
Talking of requirements:
Some say yes:
Some say no:
drupal generate:module
drupal generate:plugin:fieldformatter
A präsentation by https://petrakis.design