Package: kaffeine-mozilla Version: 0.4.3.1-1 User: [EMAIL PROTECTED] Usertag: debian-edu
The kaffeine-mozilla plugin is capable of handling a lot of different mime times that are not announced by the plugin as supported. Because of this, the plugin is almost useless with several sites here in Norway. A quick solution is to change the plugin to advertise more mime types. I copied the list of mime types advertised by mozilla-plugin-vlc, and added a few that I recently supplied patches to BTS for, and ended up with this patch. With this patch in place, I was able to get several sites that did not work before to work with kaffeine. These are the test sites I used that worked: http://nrk.no/lyd/ http://www.aftenposten.no/webtv/ http://snutt.no/ http://loekebergskole.no/podpress/category/podcaster/comenius/norsong/ These still have problems: http://nrk.no/nett-tv/ http://www.filmarkivet.no/ diff -ur kaffeine-mozilla-0.4.3.1.dfsg/src/plugin.c kaffeine-mozilla-0.4.3.1.dfsg.new/src/plugin.c --- kaffeine-mozilla-0.4.3.1.dfsg/src/plugin.c 2004-05-12 08:12:52.000000000 +0000 +++ kaffeine-mozilla-0.4.3.1.dfsg.new/src/plugin.c 2008-07-12 16:12:12.000000000 +0000 @@ -165,7 +165,27 @@ "audio/x-ms-wma: wma: Microsoft Media Audio;" "video/x-ms-wmv: wmv: Microsoft Media Video;" "audio/x-mpegurl: m3u: Streaming-MPEG-Audio;" - ; + + "application/mpeg4-iod:mp4,mpg4:MPEG-4 video;" + "application/mpeg4-muxcodetable:mp4,mpg4:MPEG-4 video;" + "application/ogg:ogg:Ogg stream;" + "application/x-ogg:ogg:Ogg stream;" + "application/xspf+xml:xspf:XSPF playlist;" + "audio/3gpp2:3g2,3gpp2:3GPP2 audio;" + "audio/3gpp:3gp,3gpp:3GPP audio;" + "audio/mp4:mp4,mpg4:MPEG-4 audio;" + "audio/mpeg4:mp4,mpg4:MPEG-4 audio;" + "audio/wav:wav:WAV audio;" + "audio/x-m4a:m4a:MPEG audio;" + "audio/x-wav:wav:WAV audio;" + "video/3gpp2:3g2,3gpp2:3GPP2 video;" + "video/3gpp:3gp,3gpp:3GPP video;" + "video/mpeg-system:mpg,mpeg,mpe,vob:MPEG video;" + "video/mpeg4:mp4,mpg4:MPEG-4 video;" + "video/x-mpeg-system:mpg,mpeg,mpe,vob:MPEG video;" + "video/x-ms-asf:asf,asx:Windows Media Video;" + "video/x-ms-wma:wma:Windows Media;" + ; } NPError NPP_GetValue(void *future, NPPVariable variable, void *value){ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]