Hi
I had posted this in the main forum, but then a couple of hours later thought I might get help here faster.
Here:
I have tried to look around for help, including in the readme file, but there seems to be something I'm missing getting other players, other than the default html5 player for https://www.drupal.org/project/audiofield to work. Instructions I have looked at all seem to miss a step and assume all the player options are usable and do not explain where exactly to place them or what from the extracted files goes to /libraries.
I have added to sites/all/libraries ... extracted files of diverse player libraries so the paths are /libraries/audiojs/audio.js ..., after trying out /libraries/player/audiojs/audio.js, /libraries/jplayer/... after trying out /libraries/player/jplayer/... etc, but under /admin/structure/media/manage/audio/display => Format => Audiofield Audio Player => ... default HTML5 audio player ... is the only option for selection with a number (ALL) of other players listed as disabled:
Disabled Players:
audio.js audio player
jPlayer audio player
MediaElement audio player
Projekktor audio player
SoundManager audio player
Wavesurfer audio player
WordPress audio player
Locations:
- /sites/all/libraries/audiojs/audio.js
- /sites/all/libraries/jPlayer
- /sites/all/libraries/wavesurfer/
- /sites/all/libraries/soundmanager/
- etc.
I assumed for example for the Jplayer, one extracts the zipped download file and renames it "jplayer" and places ALL contents in all/libraries, mediaelement-mediaelement-4.2.9-6-ga6cc75b.zip => /all/libraries/mediaelement/, soundmanagerv297a-20170601.zip => /all/libraries/soundmanager/ ....
What is the correct way to have alternative players be selectable & not "disabled"? Does it need installing plugins of the above players, which seem to have been necessary for D7, but then, at least for the ones I checked, it seems there are no D8 versions and yet I get the impression they are expected to work, with only libraries(?)?
I would very much appreciate some help as whatever I do, no alternative players are being displayed & no idea how to enable them.
I installed the newest available version downloaded a couple of days ago, but updated to 8.x-1.9 today.
Thank you and best regards
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | libraries.jpg | 132.7 KB | lionheart8 |
| #3 | deactivated-players.jpg | 83.03 KB | lionheart8 |
Comments
Comment #2
lionheart8 commentedComment #3
lionheart8 commentedComment #4
lionheart8 commentedComment #5
daniel.moberly commentedYou have done it correctly, but the libraries should be in the
/librariesdirectory, not/sites/all/libraries, which is the Drupal 7 standard.If you move them so that they are located in the libraries folder, you should be good to go.
Comment #6
lionheart8 commentedHi
Many thanks for your quick help, which solved the issue.
One question, though: on the individual pages for getting the different players, they show different examples of customized players, e.g. with different colors, etc. I do not see any settings in Drupal, on the pages where they appear.
Does it mean one has to get into the libraries code of the players to change settings (css?) from there, or am I missing something?
Once again, many thanks
Comment #7
lionheart8 commentedI found the customization settings ... and had not looked hard enough :)
Thanks & best regards