Closed Bug 432223 Opened 16 years ago Closed 13 years ago

No music support - real, quicktime, windows media, divx

Categories

(Tech Evangelism Graveyard :: English US, defect)

x86
Windows XP
defect
Not set
critical

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: ejvyas, Unassigned)

References

()

Details

Attachments

(2 files)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9b5) Gecko/2008032620 Firefox/3.0b5
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9b5) Gecko/2008032620 Firefox/3.0b5

There is no music support in the new build. I have all real, quicktime, windows media, divx installed yet I cannot play any music from :
- http://www.musicindiaonline.com/music/ut/s/hindi_bollywood/100/
- http://radio.smashits.com/

I used to play music from my old fire fox with the same system and codecs

Reproducible: Always

Steps to Reproduce:
1.http://www.musicindiaonline.com/music/ut/s/hindi_bollywood/100/
2.Select some songs
3.Hit "Play Selected Songs" button

1.http://radio.smashits.com/
2. Select any category
Actual Results:  
No music

Expected Results:  
Music plays

Same system used during testing

I have all Plugins installed:
Divx, iTunes, QuickTime, Real, Jukebox, flash, media player
Attached image Plugins installed
Firefox 3.0b5
Vyas, does the problem also occur in a recent Firefox trunk build?
http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-trunk/
Component: General → Plug-ins
Product: Firefox → Core
QA Contact: general → plugins
Version: unspecified → Trunk
The problem still exists on the latest trunk:

Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9pre) Gecko/2008050506 Minefield/3.0pre

BTW that page uses wmp or realplayer, wmp i know for sure doesn't work on the latest trunk (couldn't find a bug for this, although perhaps this bug #360336 is it)!
I am raising the severity of this issue. Nobody has till date confirmed this even though multiple users have commented. This is a very critical issue. How am I supposed to use/ test Firefox beta when the basics are missing!!
Severity: major → critical
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9pre) Gecko/2008051206 Minefield/3.0pre

DivX Web Player
File name: npdivx32.dll
DivX Web Player version 1.4.0.233

Sorry, but i can't repro this.   I installed a clean nightly build, and did a PFS for divx plugin.  Then i went to http://labs.divx.com/Webplayer, and the video loaded fine with audio. 

Does every site on your build using these plugins fail to load audio?  What happens with sites with Audio/Video?  Does flash work?

I am talking about Firefox 3.0b5. I will try the clean nightly build but still I guess it is an issue with Firefox 3.0b5 and hence I reported it. There is no audio and video on those sites. The site you have given me works 

Flash on youtube and ibnlive work as well
(In reply to comment #7)
> I am talking about Firefox 3.0b5. I will try the clean nightly build but still
> I guess it is an issue with Firefox 3.0b5 and hence I reported it. There is no
> audio and video on those sites. The site you have given me works 
> 
> Flash on youtube and ibnlive work as well
> 

yeah i understand you located the problem on beta 5, but any bugs that have carried over since, will also be on the nightly (unless its been fixed).   Do let us know what you see on the latest nightly though.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9pre) Gecko/2008051306 Minefield/3.0pre

1. http://radio.smashits.com/ works now

2. http://www.musicindiaonline.com/music/ut/s/hindi_bollywood/100/
does not work. I believe it uses realplayer and I have the plugin. It works in IE

Looking at that page you provided I've found the following in their JS that may be causing this problem, although I'm not sure if it's a Firefox problem or not.


They make a class constructor function and in it define the following function (which they later assign to this.player):

this.findplayer = function () {
			switch(navigator.family) {
				case 'nn4':
				case 'gecko':
				case 'opera':
					if ( document.WMPlayer )
						return document.WMPlayer; 
				break;
				case 'ie4':
				case 'safari':
					if ( WMPlayer )
    	  					return WMPlayer;
				break;
			}
			this.debug("Failed to Find Player, unknown browser! " + navigator.family,1);
		};


They then call the play function with the following code (using this.player.controls.play())

if (this.isnng) {
			this.player.setURL(url);
			this.player.setUiMode('invisible');
			this.player.setAutoStart(true);
			this.player.getControls().play();
		} else {
			this.player.URL = url;
			this.player.uiMode = 'invisible';
			this.player.autoStart = true;
			this.player.controls.play();
		}

The problem is that this.player.controls is undefined, (WMPLayer is the name of the an applet within the document).

Anyhow with that error playing the media is impossible, however the WMP Plugin does work fine you can test it here http://plugindoc.mozdev.org/testpages/wmp9.html and see for your self.
>The problem is that this.player.controls is undefined, (WMPLayer is the name of
>the an applet within the document).

After further investigation I think I've found the problem:

Interestingly enough, the code written into firefox is the Object code, which should really only be written if navigator.family==ie4!

this is the code:

this.writeplayer = function (url) {
			if(parent.woshamorak!='0rtr5tedsw3wse t 5 7856 e5r6t rty 56 7u567aw34wa 97usdfhsdn b bc vcv c vws'){
				return false;
			}
			w_done = 0;
			switch(navigator.family) {
				case 'nn4':
				case 'gecko':
				case 'safari':
				case 'opera':
					document.open();
					document.write(this.playercode_nn(url));
					document.close();
					w_done = 1;
				break;
				case 'ie4':
    	  				document.write(this.playercode_ie(url));
    	  				w_done = 1;
				break;
			}
			if ( w_done == 1 ) {
				this.debug("Wrote Player");
			} else {
				this.debug("Failed to Write Player, unknown browser! " + navigator.family,1);
			}
			this.player = this.findplayer();
			if (this.player)
				this.debug("Player Write Success");
	};

and here's what navigator.family should be:

else if (ua.indexOf('gecko') != -1)
  {
    navigator.family = 'gecko';
    var rvStart = navigator.userAgent.indexOf('rv:') + 3;
    var rvEnd = navigator.userAgent.indexOf(')', rvStart);
    var rv = navigator.userAgent.substring(rvStart, rvEnd);
    var decIndex = rv.indexOf('.');
    if (decIndex != -1)
    {
      rv = rv.replace(/\./g, '')
      rv = rv.substring(0, decIndex-1) + '.' + rv.substr(decIndex)
    }
    navigator.version = parseFloat(rv);

    if (ua.indexOf('netscape') != -1)
      navigator.org = 'netscape';
    else if (ua.indexOf('compuserve') != -1)
      navigator.org = 'compuserve';
    else
      navigator.org = 'mozilla';
  }

BTW I did get a security error once or twice about Location.toString, although I don't think it's connected to this.
Does that mean you confirm the bug? Please change the status accordingly. Also, I would like to add, it worked on earlier versions of Firefox and Internet Explorer
based on comment 11, it sounds like there is enough work here to proceed with further investigation.  confirming. 
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: realplayer
Can't believe I missed this before.... 

this line makes the code appear the way it does:

this.playercode_nn = this.playercode_ie;

In other words, no difference for IE or any other browser, the same code is injected.

So my conclusion is that there probably is something wrong with the java applet or how it's called... ;)
Aaargh.... the WMPlayer doesn't work in firefox2 either!!
Just tested that site with ff2 and windows media player and I got the same error.

So, unless the real player used to work, this bug is either old or invalid.

Sorry for all the confusion, but from the summary and description I got the wrong impression.
Does that mean it is not a FF bug and it is a bug with the website? I wonder how I used to play this earlier!

Thanks for your help. Sorry for the inconvenience caused
You probably used to play it before on realplayer and that I didn't check, i.e. there could still be a bug about that, but the windows media player works fine in ff3 and that site has bad scripting/Java that won't allow it to work.
I keep on getting different behavior on this site, but the following seems consistent,

Vista: never works, whether on 2.0 Branch or Trunk,

XP: Works on 2.0 Branch (although apparently not on Trunk)

tchung:
Is there anything I'm missing here, maybe different API's for the WMP plugin...
That is exactly what I am saying. It used to work earlier so maybe some plugin issue. 
> Vista: never works, whether on 2.0 Branch or Trunk,
> 
> XP: Works on 2.0 Branch (although apparently not on Trunk)
> 
> tchung:
> Is there anything I'm missing here, maybe different API's for the WMP plugin...
> 
Can you try different scenarios?   Maybe a clean profile; startup in safe mode, or even an older WMP plugin or so....

If we can narrow it down more, and see more consistency across other users experiencing this, its possible it could be a plugin issue that needs tech-evangelism attention.
The object is loaded with no type attribute only a clsid. So this is probably a problem with the site, although amazingly it did work on other Firefoxes,

-->Invalid?

I've uploaded a sample of the problem.
>The object is loaded with no type attribute only a clsid. So this is probably a

Obviously I meant data attribute (see the attatchment).
I can't get Flash to install -- made numerous attempts with the immediate previous version to this one just installed: 

Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9) Gecko/2008051206 Firefox/3.0
The difference between the working and non-working versions depends on whether Mozilla's ActiveX plugin is installed...

@S.Green
>I can't get Flash to install -- made numerous attempts with the immediate
>previous version to this one just installed: 

Not this bug, try to find another one about flash or file a new one.
All the sites mentioned work with 

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14

I am not trying the version 3 further till my votes are fixed or there is a newer version. Just too many bugs! :-)
Installed 3.0.1 yesterday.  Embedded WMP will not play.  I even upgraded to WMP 11 and reinstalled the plug-in.  No luck.  Observed this on multiple systems (all running Windows XP Pro).
Just happened to stumble on this recently, thought I'd bring it up here as it may be relevant:
http://developer.mozilla.org/en/Gecko_1.9_Changes_affecting_websites#HTML
explains what changed in object and embed code which may have contributed to this problem... IMHO this is INVALID or WONTFIX.
Over to tech evang. see similar bug 470743. I think a dev-doc is needed
Assignee: nobody → english-us
Component: Plug-ins → English US
Product: Core → Tech Evangelism
QA Contact: plugins → english-us
Version: Trunk → unspecified
WFM, both URLs in comment 0, trunk and 3.0.6pre on i686 Linux using
Helix DNA Plugin: RealPlayer G2 Plug-In Compatible version 0.4.0.4005 built
with gcc 3.4.3 on Feb 25 2008
and RealPlayer 11.0.0.4028 for Linux
With Firefox 3.1.b2 and MacOS 10.4.11, http://radio.smashits.com/
 played music without iussue, however with the first link http://www.musicindiaonline.com/music/ut/s/hindi_bollywood/100/
an empty windoe opened on my selection and nothing everhappened.
INCOMPLETE due to lack of activity since the end of 2009.

If someone is willing to investigate the issues raised in this bug to determine whether they still exist, *and* work with the site in question to fix any existing issues, please feel free to re-open and assign to yourself.

Sorry for the bugspam; filter on "NO MORE PRE-2010 TE BUGS" to remove.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → INCOMPLETE
Product: Tech Evangelism → Tech Evangelism Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: