While the embed plugin works for graphics I have the same issue as Trajan - I only get a link when embedding and mp3. Is this what is SUPPOSED to happen? I hope it isn't as I really want to be able to embed an mp3 played into blog posts and pages. If this is the current default behaviour (i.e. just embeds a link) then does anyone have a way of doing what I want.
I've tried aaudio and this works for a playlist in the profile and dashboard but I want to embed in the blog itself.
I know the last post to this was 101 days ago (!) but I's still like a solution! (egg v1.6.1)
There is a problem with Firefox using the wrong mime type wheb I upload an mp3 (created in Audacity) - it seems to use audio/mpg and not audio/mpeg. Uploading via Safari (and I suspect IE) the audio player will appear in the files area (it wasn't before) but I still ONLY have a link in a blog post ater using embed.
FIX for MIME issue in files list
Some mp3 files are uploaded (this may be a Firefox only problem) with the wrong MIME type - "audio/mpg" instead of "audio/mpeg". This means that the audio player is not displayed when the file is listed.
This can be fixed by hacking the mime type on listing in the file
mod/file/views/default/object/file.php
At about line 23 under the line "$mime=$file->mimetype;" add
if ( strcmp($mime,"audio/mpg") == 0) {
$mime = "audio/mpeg";
}
Now the audio player should appear if the files mime type is either of these.
I still want to embed the audio file in a blog post though....
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by RaĆ¼l Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.