hiimnalaa / swfobject

Automatically exported from code.google.com/p/swfobject
0 stars 0 forks source link

IE9 embedding swf with 100% height - seems to display as 100 pixels #543

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Embed a swf with 100% width and 100% height

What is the expected output? What do you see instead?
Expect the swf to display at 100% height - instead it seems to display 100 
pixels

What version of the product are you using? On what operating system?
swfObject 2, Windows 7, IE9

Please provide any additional information below.

Original issue reported on code.google.com by mich...@mvi-design.co.uk on 14 Mar 2011 at 12:30

GoogleCodeExporter commented 9 years ago
Please read the FAQ on how to achieve 100% width / height and post any 
authoring issues to the mailing list. If IE9 is specifically causing an unknown 
bug, then we will re-open this issue.

Original comment by aran.rhee@gmail.com on 14 Mar 2011 at 5:11

GoogleCodeExporter commented 9 years ago
I have looked at the FAQ and already had the CSS setting in place that you 
recommended.  The site displays at 100% height in every browser except IE9.  
The URL that shows this issue is www.creatormail.co.uk

Thank you for your time.

Original comment by mich...@mvi-design.co.uk on 14 Mar 2011 at 5:23

GoogleCodeExporter commented 9 years ago

Original comment by mich...@mvi-design.co.uk on 14 Mar 2011 at 5:38

Attachments:

GoogleCodeExporter commented 9 years ago
So do the swfobject test suite pages work as expected ?

http://www.bobbyvandersluis.com/swfobject/testsuite_2_2/test_dynamic_fullbrowser
flash.html
http://www.bobbyvandersluis.com/swfobject/testsuite_2_2/test_fullbrowserflash.ht
ml

(I will need to fire up a VM with IE9 in order to test myself, which I cannot 
do immediately) 

Original comment by aran.rhee@gmail.com on 14 Mar 2011 at 6:33

GoogleCodeExporter commented 9 years ago
Using your code in the test suite fixed the error.  The code in the test suite 
is different from the code that I used from another page on your site and it is 
different from the code that Dreamweaver creates (using swfobject).  I have 
attached the code that I was previously using so you can see where I was going 
wrong).

Thanks very much for your help.

Original comment by mich...@mvi-design.co.uk on 15 Mar 2011 at 9:25

Attachments:

GoogleCodeExporter commented 9 years ago
Yeah, Dreamweaver does not add the required CSS automatically when you choose a 
% based width/height [nor should it really]

What page[s] on the site differ from the test suite? The FAQ listing?

Original comment by aran.rhee@gmail.com on 15 Mar 2011 at 5:52

GoogleCodeExporter commented 9 years ago
Hi Aran,

The code that doesn't work for me in IE9 was created using the Online Generator 
and dynamic publishing.  My CSS has always contained the recommendations you 
suggest but the problem is that Dreamweaver adds Flash to the page using the 
dynamic method which I have found does not work in IE.

Cheers,  Mike

Original comment by mich...@mvi-design.co.uk on 15 Mar 2011 at 6:01

GoogleCodeExporter commented 9 years ago
Hi Mike.

Ok, so the documentation in the FAq and the code in the test suite pages do 
match then...

The online generator has no knowledge of any css, and you will need to add the 
css as required when dealing with % based layouts.

IE9 and dynamic publishing do work IFAIK, based on feedback from another 
SWFObject contributor today. Did you try both links from my comment #4 ?

Original comment by aran.rhee@gmail.com on 15 Mar 2011 at 11:45

GoogleCodeExporter commented 9 years ago
Aran,

It now seems that every method I try works fine - I haven't changed my CSS from 
the beginning so am confused as to what I was doing wrong.  Thanks for your 
help and patience and I'm sorry to have wasted your time.  I'll be donating to 
swfobject this morning.

Mike

Original comment by mich...@mvi-design.co.uk on 16 Mar 2011 at 10:07

GoogleCodeExporter commented 9 years ago
I can't find a donate link!  I have also just seen in my files that it is Flash 
that creates the html differently from your online examples (but this is now 
working fine aswell).

Is there a donate link anywhere?

Original comment by mich...@mvi-design.co.uk on 16 Mar 2011 at 10:16

GoogleCodeExporter commented 9 years ago
Hey Mike.

That's ok. Having a bit of user testing to know that IE9 is in fact behaving is 
greta. There isn't a donate link on the site - your thanks is fine :). I'm glad 
everything is working for you now.

Cheers,
Aran

Original comment by aran.rhee@gmail.com on 16 Mar 2011 at 8:28