Comment 10 for bug 38169

Revision history for this message
Sebastien Bacher (seb128) wrote :

Upstream bug has been marked as NOTGNOME with that comment:

"The Javascript at http://scripts.kataweb.it/tz/player.js contains:
        if (navigator.plugins && navigator.plugins.length){
            for (x=0; x<navigator.plugins.length; x++){
                if (navigator.plugins[x].name.indexOf('Windows Media') != -1){
                    media_player = true;

The problem with the MPlayer plugin code is that the plugin can only associate
itself with one plugin name. Would need to split the plugin into multiple
plugins to be able to support this, which would suck.

The best would be to bug republicca to update its scripts to check for
mime-types as well:
if (navigator.mimeTypes && navigator.mimeTypes.length)
{
        x = navigator.mimeTypes['video/x-ms-asf-plugin'];
        if (x && x.enabledPlugin)
                media_player = true;
}"