HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
How to Upload Music, Sound and Movie files.
vrijvlinder
MVP
You can attach music and movie files by adding them to you config.php. I tested it and it works. However the size allowed to be uploaded must be changed if the files weigh more than 4mega.
Add this line or only the file types you wish to attach on upload.
$Configuration['Garden']['Upload']['AllowedFileExtensions']= array('txt','jpg','jpeg','gif','png','bmp','tiff','zip','gz','tar.gz','tgz','psd','ai','fla','swf','pdf','doc','xls','ppt','docx','xlsx','log','rar','7z','mp3','wav','aiff','mov'); $Configuration['Garden']['Upload']['MaxFileSize']= '50M';
when a user clicks on the attachment, it opens a player. You can use the link to your attachment to embed it elsewhere. In a sense publishing your music right from Vanilla.
Tagged:
2
Comments
To embed an mp3 that you uploaded to your forum as an attachment, you can use these codes
and/ or
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌
Well, thank you @vrijvlinder, I would like to try with HTML5 markup but please, could you tell us where to put this code ?
You could add it to the editor or embed it in your default.master or use the plugin pockets to add it to the master.
You can also use the plugin playmp3links
http://vanillaforums.org/addon/playmp3links-plugin
You upload the mp3 files to your server via ftp and then you can link them and when you add the link to the editor it creates a player .
This plugin will create a player when linking to an mp3 file.
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌