totem firefox plugin doesn't plug in

Bug #38169 reported by Matthew East
14
Affects Status Importance Assigned to Milestone
Totem
Fix Released
Medium
totem (Ubuntu)
Fix Released
Medium
Ubuntu Desktop Bugs

Bug Description

1. Install totem-gstreamer-firefox-plugin
2. Go to http://multimedia.repubblica.it/

There should be a video player opening in the top left of the screen. It works ok with mozilla-mplayer (although more codecs are needed to play the wmv video streams), and with Microsoft Windows Media Player.

I don't know if gstreamer can handle the wmv streams, but the plugin should at least plug in and try on this website.

Revision history for this message
Alessio Fattorini (alessio.fattorini) wrote :

I have the same problem :( with breezy works fine

Matthew East (mdke)
Changed in totem:
status: Unconfirmed → Confirmed
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thanks for your bug. I'm not sure that's a totem bug. I've tried from Ubuntu 5.10 with totem-xine it doesn't work neither, nor does mozilla-mplayer on dapper. There is an issue which is that totem doesn't list the "video/x-ms-wvx" type, but without that the website seems to be made for windows player.

Discussion with chpe (upstream for epiphany) on IRC:

<seb128> I got the mimetype with ethereal before when running mplayer on http://mediaserver.kataweb.it/tgrep/tg12.wmv
<chpe> hmm not sure, but that JS seems windows-centric, it tries to instaniate the flash plugin with <object classid... not sure that works on linux at all
...
<chpe> I don't think this works on linux, it looks for "Media Player"...
...
<chpe> if you change the plugin
<chpe> *((char **)value) = "Totem Mozilla Plugin";
<chpe> to "Windows Media Player (Totem; compatible)" or sth like that
...
<chpe> but then the JS expects the windows media player JS objects, which totem doesn't implement... will probably warn on JS console and/or not work :)
<seb128> hum, k, thank you for the comments on that

Do you have it working on linux with some other browser or player?

Changed in totem:
assignee: nobody → desktop-bugs
status: Confirmed → Needs Info
Revision history for this message
Matthew East (mdke) wrote :

Yes, it works fine with mplayer-mozilla in Dapper, with both epiphany and firefox.

Changed in totem:
status: Needs Info → Confirmed
Revision history for this message
Sebastien Bacher (seb128) wrote :

It doesn't on my dapper installation ... Daniel, does it work for you?

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

Works fine with epiphany but not firefox now

Revision history for this message
Alessio Fattorini (alessio.fattorini) wrote :

No, for me epiphany doesn't works
Only audio and not video..

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

The issue is than the website expects the browser to be "Window Media Player", I've opened http://bugzilla.gnome.org/show_bug.cgi?id=337414 upstream about to know if they want to "fake" the pluginNameString for that

Revision history for this message
Daniel Holbach (dholbach) wrote :

It doesn't open a video player in either epiphany nor firefox for me.

Revision history for this message
Alessio Fattorini (alessio.fattorini) wrote :

The problem persist

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;
}"

Revision history for this message
Matthew East (mdke) wrote :

So I think Seb's comment is sufficient to reject this bug.

Changed in totem:
status: Confirmed → Rejected
Revision history for this message
Sebastien Bacher (seb128) wrote :

Upstream made the required chages for that, this upload fixes the issue:

 totem (1.5.91-1ubuntu1) edgy; urgency=low
 .
   * Sync with Debian
   * New upstream version:
     * Numerous Browser Plugin enhancements:
       - Playlist support
       - Split the plugin in 4 different plugins, to allow
         name-based detection to work, and different Javascript interfaces
         to be used (Real Player/Helix, Windows Media Player and Quicktime
         compatible, and basic Totem) (Ubuntu: #38169, #42716, #49376, #51167)
       - Handle repeat and autostart parameters
       - Make sure the plugin is available for all Mozilla-based browsers
       - Make scrolling on the volume widget work as it should
     * New icon
     * Use HAL to determine the disc type
     * Save and restore which sidebar was showing, and whether Totem was
       maximised
     * Fix the window title not changing when playing files with broken names
     * Fix Ctrl+Q not working in fullscreen
     * More logo mode fixes (xine-lib)
     * Fix aspect ratio of visuals (xine-lib)
   * debian/control.in:
     - Build-Depends on liblaunchpad-integration-dev, firefox-dev
     - Depends from totem on totem-gstreamer before totem-xine
     - don't Build-Depends on libxul-dev, xulrunner
     - totem-mozilla Replaces, Provides, Conflicts with
       totem-gstreamer-firefox-plugin, totem-xine-firefox-plugin
     - use Suggests instead of Recommends for gstreamer0.10-plugins-ugly,
       gstreamer0.10-ffmpeg since those packages come from universe
   * debian/patches/02_lpi.dpatch:
     - launchpad-integration
   * debian/patches/03_autoconf.dpatch:
     - configure update
   * debian/patches/04_desktop_gettext_domain.dpatch:
     - Add gettext domain to .desktop file to get language pack support.
   * debian/patches/05_auto_resize.dpatch:
     - use auto resize as default behaviour (Ubuntu: #35055)
   * debian/rules:
     - build with firefox instead of xulrunner
     - use dh_iconcache

Changed in totem:
status: Rejected → Fix Released
Changed in totem:
status: Rejected → Fix Released
Changed in totem:
importance: Unknown → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.