Closed Bug 625784 Opened 15 years ago Closed 3 years ago

contentplugin within AUDIO tag triggers missing plugins prompt

Categories

(Toolkit :: Video/Audio Controls, defect)

x86
Windows Vista
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: chris, Unassigned)

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-GB; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-GB; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13 If you place an object / embed inside an HTML5 audio tag - it triggers the install missing plugins bar. This is contra the spec as far as I can tell (content inside the tag should only be rendered if the tag is not suppoted) - I haven't tested with the video tag, I'd imagine the same behaviour (I am on Server Enterprise 2007); I've tried with variations of the nesting of embed and object and the same problem occurs regardless - I appreciate that the missing plugins toolbar is a nice (but often annoying feature really) but the browser should render alternative content when nested inside object/audio/video tags - Chrome behaves correctly (at least when you nest object inside of audio - not so vica versa) - Safari renders content inside as well as plugin placeholders - Opera seems to implement this properly Work around - use IE conditional HTML source example: <!doctype html> <html> <head> </head> <body> <audio controls preload="auto" autobuffer> <source src="http://libsyn.com/media/jakeludington/mediablab_laptopsecurity.mp3" /> <source src="http://www.w3schools.com/html5/horse.ogg"/> <source src="http://libsyn.com/media/jakeludington/mediablab_laptopsecurity.mp3" /> <embed type="application/x-mplayer2" src="http://libsyn.com/media/jakeludington/mediablab_laptopsecurity.mp3" name="MediaPlayer"> <object id="MediaPlayer" height=46 classid="CLSID:22D6f312-B0F6-11D0-94AB-0080C74C7E95" standby="Loading Windows Media Player components..." type="application/x-oleobject" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,7,1112"> <param name="filename" value="http://libsyn.com/media/jakeludington/mediablab_laptopsecurity.mp3"> <param name="Showcontrols" value="True"> <param name="autoStart" value="True"> </object> </embed> </audio> </body> </html> Reproducible: Always Steps to Reproduce: 1.Go to a webpage with audio tags and objects embedded within Actual Results: I got the install missing plugins bar appear and the browser renders the box too Expected Results: ignored the content inside the audio tag
This is a pure UI issue, not a core issue. I believe the spec says that in this situation the content inside the <audio> shouldn't get CSS boxes, but it _does_ get its normal DOM behavior. So it's in the DOM. What the UI wants to do with that is up to it.
Component: Video/Audio → General
Product: Core → Firefox
QA Contact: video.audio → general
Sorry it is a ui issue but spec says: Content may be provided inside the audio element. **** User agents should not show this content to the user; **** it is intended for older Web browsers which do not support audio, so that legacy audio plugins can be tried, or to show text to the users of these older browsers informing them of how to access the audio contents.
Component: General → Video/Audio Controls
Product: Firefox → Toolkit
QA Contact: general → video.audio
Version: unspecified → Trunk

Is this Bug still relevant?

Flags: needinfo?(bzbarsky)

I'm not sure why you're asking me....

Flags: needinfo?(bzbarsky)

We no longer have an "install missing plugins" infobar so this must be working now.

Status: UNCONFIRMED → RESOLVED
Closed: 3 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.