I mean if it works with the shortode that lists all the downloads using the “wpdm-all-downloads.php” template. I can see the line 318 in this template:
case 'audio_player':
$data['files'] = \WPDM\Package::getFiles($data['ID']);.......
......
so i guess it should work.
But i don`t know how is this template deciding which download is an audio so it can add the preview player.
Is there something i should add to all the audio downloads ?
—————
EDIT
—————
I tried like this:
[wpdm_all_packages items_per_page="20" jstable=1 order_by="field_name" order="ASC/DESC" cols="title,file_count,download_count|categories|update_date|audio_player|download_link" colheads="Title|Categories|Update Date|Preview|Download::155px"]
It does show the Preview column but no audio player.
I only have audio downloads… no other format but mp3
Did i do something wrong?