can't stop play of realaudio stream in embedded mplayer plugin

Bug #174808 reported by Robert Persson
6
Affects Status Importance Assigned to Milestone
mplayerplug-in (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: mozilla-mplayer

When the mplayer plugin is installed in firefox, it is impossible to stop playback by the embedded player of bbc audio streams unless you actually close the page (go to http://www.bbc.co.uk/radio/aod/mainframe.shtml and play something). The play button ought to turn into a pause button when playback starts, but it doesn't.

The problem does not occur with the realplayer plugin.

It is possible to work around the problem by installing the realplayer plugin alongside the mplayer plugin and then doing the following:

$ sudo mkdir /usr/lib/firefox/plugins-disabled
$ sudo mv /usr/lib/firefox/plugins/mplayerplug-in-rm* plugins-disabled/

Or just:

$ sudo rm /usr/lib/firefox/plugins/mplayerplug-in-rm*

This means that you will be able to play realaudio and realvideo streams properly while still being able to play other commonly used media types that realplayer won't handle.

Revision history for this message
Nick White (r-launchpad-njw-me-uk) wrote :

I can confirm this.

Further, the rewind, fast-forward and volume control buttons don't work.

Presumably the mozilla-mplayer plugins doesn't yet interact with the following javascript (and similar) (from pages such as bbc.co.uk/radio/aod/networks/radio4/aod.shtml?radio4/today#):

if(eval(document.RP.GetPlayState())==3) {
   ImgPause();
   if (document.RP.CanPause())
    {document.RP.DoPause();}
  }
  else {
   ImgPlay();
   if (document.RP.CanPlay())
    {document.RP.DoPlay();}
  }

I wouldn't have thought this would be very difficult for a maintainer to implement, and would be a nice way to get rid of a binary blob.

Further, the mplayer plugin appears to work better than realplayer's :-)

Revision history for this message
Nick White (r-launchpad-njw-me-uk) wrote :

Almost forgot: I'm using Ubuntu 7.10 and mozilla-mplayer-3.40-5ubuntu5.

Happy to help with testing etc.

Thanks.

Revision history for this message
Nick White (r-launchpad-njw-me-uk) wrote :

I'm not familiar with the mplayerplug-in codebase, but it looks to me like all that may be needed is to implement CanPlay(void), CanPause(void) and CanStop(void), each returning NS_OK, e.g. adding to Source/nsScriptablePeer.cpp code of the form:

NS_IMETHODIMP nsScriptablePeer::CanPause(void)
{
    return NS_OK;
}

I lack the resources / time to try this at present, but as I said am more than happy to test this.

Revision history for this message
Daniel T Chen (crimsun) wrote :

Is this symptom still reproducible in 8.10?

Changed in mplayerplug-in:
status: New → Incomplete
Revision history for this message
Javier Jardón (jjardon) wrote :

We are closing this bug report because it lacks the information we need to investigate the problem, as described in the previous comments. Please reopen it if you can give us the missing information, and don't hesitate to submit bug reports in the future. To reopen the bug report you can click on the current status, under the Status column, and change the Status back to "New". Thanks again!

Changed in mplayerplug-in:
status: Incomplete → Invalid
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.