AI Assistant
Notifications
Clear all

Audio Player after Media-Upload

4 Posts
2 Users
0 Reactions
1,478 Views
Posts: 6
Customer
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@michael-stallmeyer)
Member
Joined: 5 years ago
[#11157]

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: 6645
Admin
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@astgh)
Illustrious Member
Joined: 8 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: 6
Customer
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@michael-stallmeyer)
Member
Joined: 5 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: 8 years ago

Illustrious Member
Posts: 6645
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian

@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