Closed Bug 276797 Opened 20 years ago Closed 20 years ago

Embedded mp3 won't be transmitted to Mozplugger

Categories

(Core Graveyard :: Plug-ins, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla1.8beta1

People

(Reporter: eric.brasseur, Assigned: bzbarsky)

References

()

Details

Attachments

(1 file)

Two loudspeaker icons on the page
http://www.ikzoekeenartiest.nl/lyric.php?HitsID=4967&ArtistNameID=1776 . When
clicking on them a window pops up and a mp3 play should start. Nothing happens.
This is the embed tag:

<embed src="http://www.janvis.nl/sp/mp3/danzelpumpitup.mp3" width="238"
height="46" autostart="true" lang="nl"
pluginspage="http://www.microsoft.com/Windows/Downloads/Contents/MediaPlayer/"
border="0" classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6"></embed>

I pasted the tag in a custom Web page. Just remove the
classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6" and everything's fine. I
suppose this embed tag is misconstructed, anyway Mozilla had a way to know
what to do since the file extension .mp3 is available.

I was using Mozplugger 1.5.2 and 1.7.0 on Mozilla 1.7.5. No problems on other
Web pages or loading local mp3 files in Mozilla. No mp3 Mimetypes defined
elsewhere in Mozilla.

Problem first posted on Mozplugger site as bug 8673. Got this feedback from
Louis Bavoil:

I could reproduce the bug with Mozilla 1.7.3 and Firefox 1.0. Unfortunately, it
cannot be fixed in Mozplugger because Mozilla/Firefox does not call the plug-in
on this page. This bug should be reported to bugzilla.mozilla.org.
Having a classid like that means an activex plugin for <object>, but maybe we
should ignore it for <embed>?
Assignee: general → nobody
Status: UNCONFIRMED → NEW
Component: General → Plug-ins
Ever confirmed: true
Product: Mozilla Application Suite → Core
QA Contact: general → plugins
Version: 1.7 Branch → Trunk
cc:jst, last known soul to touch plugins :)

I'm guessing the code that is used to skip <object classid=""/> is run on embed
tags as well.  We should be ignoring classid on embed tags though.
Attached patch So like this?Splinter Review
This ignores classid on applet and embed.
Attachment #172735 - Flags: superreview?(jst)
Attachment #172735 - Flags: review?(jst)
Comment on attachment 172735 [details] [diff] [review]
So like this?

Yeah, makes sense. r+sr=jst
Attachment #172735 - Flags: superreview?(jst)
Attachment #172735 - Flags: superreview+
Attachment #172735 - Flags: review?(jst)
Attachment #172735 - Flags: review+
Assignee: nobody → bzbarsky
Target Milestone: --- → mozilla1.8beta
Fixed
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: