Uploading a video directly in Discourse


(Marius Corîci) #1

I was looking for a way to have a video uploaded directly in Discourse. I was trying to add .mp4 format, change the dimension of the allowed uploaded file but it didn’t worked.

Any suggestions much appreciate.

Thanks!


(Rafael dos Santos Silva) #2

Adding .mp4 to the list of file extensions and making the limit higher will work. You need to set upload_size key inside params key on app.yml and rebuild for it to work.

Keep in mind your backups will suffer when hosting video.


(Marius Corîci) #3

My video is 16MB and the max file size I allowed is larger (see pic bellow)


(Rafael dos Santos Silva) #4

Did you make the change on app.yml and rebuild?


(Marius Corîci) #5

Ups! Let me check if works like that.