Voice messages for discourse

(Quenten) #1

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

1 Like
(Pad Pors) #2

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

1 Like
(cpradio) #3

I think this is it?

2 Likes
(Simon Cossar) #4

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.

8 Likes
(Quenten) #5

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
(Simon Cossar) #6

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.

3 Likes
(Elena Lappen) #9

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?

3 Likes