Voice messages for discourse

Is there any plugin that allows users to post voice subjects?
Is there anyone interested in such plugin?

1 Like

this may help: I remember @Simon_Cossar has worked on “sound track upload”, but I couldn’t find it now via search.

1 Like

I think this is it?


If you enable audio filetypes for your forum, (mp3, ogg, wav, m4a) when audio files are uploaded, they should give you the browser’s default audio player.

Audio files are very large, so you would probably only want to enable them if you are storing uploads externally.

Edit: with the m4a filetype enabled, I can upload audio directly from my Android phones voice recorder app. That might be close to what you are looking for.


Is there any way to limit the length of the audio to X seconds?
Do users record their voice or need to upload the files?

1 Like

No, but you can set the ‘max attachment size’ on Discourse to limit upload sizes. From my phone, a 1 minute audio recording is approximately 1000kb.

They need to upload the file. On my phone it is quite straightforward. Clicking the upload button in the composer opens the phone’s ‘Choose an action’ menu. That lets me select the phone’s voice recorder app.


Following @Simon_Cossar’s suggestions, I get a player when a user uploads an audio file directly, but not when the audio file comes as an email attachment. In that case, a link to download the audio file is displayed. I’m testing Discourse as a ticketing system and our inboxes receive a good amount of voicemails to handle (forwarded from our phone line), so I’m interested in the player option when someone emails an audio file. Is there a way to configure this?


Can you send an audio file as an email attachment here by replying to this via email so that we can have a look?

1 Like

I’ve tried to reply with an audio attachment but it appears that audio files are not authorized here ("authorized extensions: jpg, jpeg, png, gif, pdf, csv, gz, json, svg, mp4, txt, docx, mov, tex”).

Regardless, the same thing appears to happen with audio-only video files. Here is an .mp4 being sent as an email attachment.

Test audio recording.mp4 (44.1 KB)


And here it is with the direct upload.


Thanks @Elena_Lappen.

@gerhard, can you see if we can improve attachment_markdown to check if we can onebox the upload?