Closed
Bug 178483
Opened 22 years ago
Closed 12 years ago
% percent sized plugin inside nested table does not render
Categories
(Core Graveyard :: Plug-ins, defect, P2)
Core Graveyard
Plug-ins
Tracking
(Not tracked)
RESOLVED
WORKSFORME
Future
People
(Reporter: gustavo, Assigned: peterl-bugs)
Details
Attachments
(1 file)
50.73 KB,
image/jpeg
|
Details |
flash doesn't start, we get a blak page. I was told it works fine on mozilla 1.1
on windoze. I am using flash6 beta on mozilla 1.2beta, linux.
Comment 1•22 years ago
|
||
url, build ID, Flash version ?
I don't know what happened but this bug report form didn't ask me the usual stuff ?!
It asked the url though.
Anyway build ID 2002101612 - Mozilla 1.2b
url - http://mindscape.planetaclix.pt
flash version - Shockwave Flash 6.0 r60 as reported by "about plugins"
(flash 6 beta)
plug-in: Shockwave Flash 6.0 r47
work with IE 5.00.2614.3500 in portuguese
win98
mozilla build id 2002110508
I was told that with mozilla 1.1 it works fine on windows. Maybe a problem with
newer builds ?
Notice that loading directly http://mindscape.planetaclix.pt/website.swf flash
works, altough the images don't pop up as they should.
confirm, don't load - Mozilla 1.0 Release Candidate 2 - linux - build id 2002052014
Comment 6•22 years ago
|
||
.
Assignee: asa → beppe
Status: UNCONFIRMED → NEW
Component: Browser-General → Plug-ins
Ever confirmed: true
QA Contact: asa → shrir
Comment 7•22 years ago
|
||
accessing the swf directly and it renders fine, trying to access via the web
page the swf does not render. The web page content is this:
<head>
<meta http-equiv="Content-Language" content="pt">
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<link rel="stylesheet" type="text/css" href="style01.css">
<title>Mindscape Produções</title>
<script language="JavaScript" src="producoes.js"></script>
</head>
<body bgcolor="#B6BBC0" scroll="no">
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse:
collapse; position:absolute; left:0" bordercolor="#111111" width="101.5%"
height="100%" id="AutoNumber1">
<tr>
<td width="100%">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
WIDTH="100%" HEIGHT="100%" id="website" ALIGN>
<param NAME="movie" VALUE="website.swf">
<param NAME="loop" VALUE="false">
<param NAME="quality" VALUE="high">
<param NAME="devicefont" VALUE="true">
<param NAME="bgcolor" VALUE="#B6BBC0">
<embed src="website.swf" loop="false" quality="high" devicefont="true"
bgcolor="#B6BBC0" WIDTH="100%" HEIGHT="100%" NAME="website" ALIGN
TYPE="application/x-shockwave-flash"
PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer">
</embed></object>
</td>
</tr>
</table>
</body>
</html>
Comment 8•22 years ago
|
||
if you process this:
<embed src="http://mindscape.planetaclix.pt/website.swf" loop="false"
quality="high" devicefont="true" bgcolor="#B6BBC0" WIDTH="100%" HEIGHT="100%"
NAME="website" ALIGN TYPE="application/x-shockwave-flash"
PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></embed>
it renders just fine
Comment 9•22 years ago
|
||
Ok, I figured out the problem, if the plug-in is nested within a table and the
plug-in is using percentage values for width and/or height then the plug-in
fails to render:
<table>
<tr>
<td>
<embed src="http://mindscape.planetaclix.pt/website.swf" loop="false"
quality="high" devicefont="true" bgcolor="#B6BBC0" WIDTH="100%" HEIGHT="100%"
NAME="website" ALIGN TYPE="application/x-shockwave-flash"
PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></embed>
</td>
</tr>
</table>
Andrei: can we do something here?
Assignee: beppe → av
Comment 10•22 years ago
|
||
it looks like
<table style="position:absolute;
and percentage in <embed WIDTH="100%" HEIGHT="100%"
cause layout calculates wrong metrics.
reincarnation of bug 131065?
Comment 11•22 years ago
|
||
hmm: adding karnaze
Chris: should this be resolved with your fix from bug 131065?
Comment 12•22 years ago
|
||
It's somewhat related to bug 131065, but based on comment #10 involves an
absolutely positioned table, so it's different. If this becomes an important
bug, feel free to reassign it to me.
Comment 13•22 years ago
|
||
May be releated to bug 176053 which talks about cases with text in front of a
percentage sized plugin.
Comment 14•22 years ago
|
||
Do we reflow frames inside table cells? Can this be related?
Comment 15•22 years ago
|
||
no, this testcase does not have an absolutely positioned table, please see my
entry in #9
reassigning
Assignee: av → karnaze
Reporter | ||
Comment 16•22 years ago
|
||
guys:
I know the offending web designer, so I would like to know what to do next.
Do you confirm that this works on mozilla 1.1 for windows as he told me ?
Is there a quick fix that does not break other browsers ( mostly IE, as this
does not work on Opera as well) that I can recomend him ?
Kepp up the brilliant work. (Running mozilla 1.2b for days and not a single
crash yet.)
(sorry for being of topic but I don't like to see sites that won't run on moz
let's make the guy fix it :) )
Comment 17•22 years ago
|
||
the quick fix is to remove the percentage values in the width and height for the
embed.
Reporter | ||
Comment 18•22 years ago
|
||
I was just told that it in fact works on moz1.1/win32
The purpose of the table, according to the author is ensuring that the embeded
flash really ocupies *all* the page width:
http://alfa.ist.utl.pt/~l45348/screenshot.jpg
For instance, wihtout the table,
http://www.fys.ku.dk/~gustavo/mindscape/producoes.html
short margins can be seen on both sides.
Updated•22 years ago
|
Priority: -- → P3
Target Milestone: --- → Future
![]() |
||
Comment 19•22 years ago
|
||
Is this still a problem? This should be fixed now that we have that hack in the
object frame...
Reporter | ||
Comment 20•22 years ago
|
||
It works fine with moz 1.1 but does not work with 1.2beta. Tested with both on
linux.
Gustavo
![]() |
||
Comment 21•22 years ago
|
||
Um... I meant "is this still a problem in a current nightly build?" 1.2b is two
releases old, about to become 3 releases old. Testing with it is pretty pointless.
Comment 22•22 years ago
|
||
-->peterl
Confiming markup in comment #9 isn't working in a recent build but it doesn't
show up in IE or Opera either and 4x gives a strange error message.
Can someone attach a valid reduced HTML testcase here?
Assignee: karnaze → peterl
OS: Linux → All
Priority: P3 → P2
Hardware: PC → All
Summary: flash doesn't start → % percent sized plugin inside nested table does not render
Comment 23•21 years ago
|
||
I am experiencing the percentage width bug on Firefox 0.9.3 on Linux. Is anyone
else having this problem?
Thanks.
-James
Comment 24•17 years ago
|
||
OK, from a web developer's point of view there's a simple solution to this one. I've tried it on my server with a Flash 9 swf with the width and height values at 100% and CSS to get rid of the default 10 pixel border and everything works fine in IE7 and Firefox 2.0:
http://blog.deconcept.com/swfobject/#download
You'll find full documentation and examples at this link.
It's already pretty well known and well used by the majority of Flash developers. This is for version 1.5, there's a version 2.0 on Google code but this has the same problem as you're experiencing here.
Updated•16 years ago
|
QA Contact: shrir → plugins
Updated•12 years ago
|
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WORKSFORME
Updated•3 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•