Menu

#20 should claim support for audio/x-m4a

open
nobody
None
5
2008-07-13
2008-07-13
Ari Pollak
No

From Debian bug report http://bugs.debian.org/490402 filed by Petter Reinholdtsen:

The Mplayer mozilla plugin is able to play files using the mime type
"audio/x-m4a", but because the plugin do not claim support for it, the
file isn't played. A test page demonstrating this is
<URL:http://loekebergskole.no/podpress/category/podcaster/comenius/norsong/>.

To test, visit the page using iceweasel, press the 'Play now' option after the text for "Lille Petter Edderkopp".

I was not quite sure which option this mime type should be grouped under, but went with the mp3 one, as it seemed most appropriate.

diff -ru mplayerplug-in-3.55/Source/plugin-setup.cpp mplayerplug-in-3.55.new/Source/plugin-setup.cpp
--- mplayerplug-in-3.55/Source/plugin-setup.cpp 2008-05-13 21:42:58.000000000 +0000
+++ mplayerplug-in-3.55.new/Source/plugin-setup.cpp 2008-07-12 19:50:28.000000000 +0000
@@ -356,6 +356,8 @@
"audio/mpeg3:mp3:MPEG audio;"
"audio/x-mpeg3:mp3:MPEG audio;"
"audio/x-mpegurl:m3u:MPEG url;"
+ "audio/m4a:m4a:MPEG audio;"
+ "audio/x-m4a:m4a:MPEG audio;"
"audio/mp3:mp3:MPEG audio;", sizeof(MimeTypes));

}

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.