Notifications
Clear all

Audio Player after Media-Upload

4 Posts
2 Users
0 Likes
468 Views
Posts: 4
Customer
Topic starter
(@michael-stallmeyer)
Member
Joined: 3 years ago

Hi there,

I´m enjoying to have the media upload addon for my users. On my page it's all about recording and mixing your own music, so I use the media-uploads for my users to upload mp3s of their own mixes to get critique by me and other members.

Before using WPDiscuz I had the standard wp-comment system with an upload-addon-Plugin and the WavePLayer as my favorite Audio-player (which looks awesome btw, image attached). 

After switching to WPDiscuz I only have the choice of the standard html5-audio-player or a link to the mp3-file - but not my beautiful Wave-Player.

Is there a chance to replace the standard html5-player with my Wave-Player (which replaces the standard-wp-audio-player site-wide) or any other not so boring audio-player?

Thanks and have a great time, yours Jonas

Bildschirmfoto 2023 02 12 um 11.56.27

 

3 Replies
Astghik
Posts: 5911
Admin
(@astgh)
Illustrious Member
Joined: 6 years ago

Hi @michael-stallmeyer,

We're really sorry, but the wpDiscuz Media Uploader addon doesn't have such a feature. 

Currently, we have plugin customization and custom addon development services at the gVectors Team. They can assess the work and create it for you. Just contact us via sales[at]gvectors.com email address and send a list of requirements you'd like to have.

Reply
Posts: 4
Customer
Topic starter
(@michael-stallmeyer)
Member
Joined: 3 years ago

Hi @Astghik, thanks for your kind reply. Could you at least tell me, in which way any attachment or at least the audio-files are brought into the comment? Is it a link to a specific file, a media-call or just some kind of shortcode calling the stored media file no matter if it is an image, audio- or video-file? 

I´m asking to eventually find a solution by myself. 

Thanks and all the best from Germany, yours Jonas

Reply
1 Reply
Astghik
Admin
(@astgh)
Joined: 6 years ago

Illustrious Member
Posts: 5911

@michael-stallmeyer,

You can get the attachments linked to comments using the following function:

$attachs = get_comment_meta(4, 'wmu_attachments', true);
 
The result is the following array:
array (size=3)
  'images' => 
    array (size=2)
      0 => string '54'
      1 => string '55'
  'videos' => 
    array (size=2)
      0 => string '56'
      1 => string '58'
  'files' => 
    array (size=1)
      0 => string '57'

Here you can get the type you want.

The 54, 55, 57... are IDs. 

Reply
Share:
Scroll to top