PDA

View Full Version : dont works correctly on firefox why???


louloule
09-10-2007, 12:50 PM
hello ,i have a problem with my virtual tour.it works correcly on ie but problem on fireofx.i dont know why?

http://www.visite-saint-malo.com/visite_virtuelle_de_saint_malo.html

phberlin
09-10-2007, 02:22 PM
The problem here is the usage of percent-values instead of absolute values with the SWFobject.js. (Due to W3C, an object needs to be of an absolute size, as far as I know?). This is also a problem with the examples Denis gives in the FPP package, when being viewed with Firefox. I've never tried it, but I think there is a Fullscreen-Plugin given with FPP? Maybe you find something on the forum about that?

Regards, Ph.

louloule
09-10-2007, 02:34 PM
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Document sans titre</title>
<style type="text/css"><!--html,body,object { margin: 0; padding: 0; width: 100%; height: 100%;}--></style>
<script src="Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
</head>

<body></noscript>
<script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0','width','100%','heig ht','100%','src','pano_1','quality','high','plugin spage','http://www.macromedia.com/go/getflashplayer','movie','pano_1' ); //end AC code
</script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="100%" height="100%">
<param name="movie" value="pano_1.swf" />
<param name="quality" value="high" />
<embed src="pano_1.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="100%" height="100%"></embed>
</object>
</noscript></body>

</html>

Scott Witte
09-10-2007, 08:52 PM
hello ,i have a problem with my virtual tour.it works correcly on ie but problem on fireofx.i dont know why?

I may be missing something but what is the difference in behavior in IE and FF? Seems the same on my machine.

phberlin
09-10-2007, 11:52 PM
:D That's because he's already put in his solution, so you don't see a difference any longer... Originally, in Firefox the pano was at 100% of the horizontal screen size, but only about a fifth of height, the rest was empty.

WideEyes
09-12-2007, 11:20 AM
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Document sans titre</title>
<style type="text/css"><!--html,body,object { margin: 0; padding: 0; width: 100%; height: 100%;}--></style>
<script src="Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
</head>

<body></noscript>
<script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0','width','100%','heig ht','100%','src','pano_1','quality','high','plugin spage','http://www.macromedia.com/go/getflashplayer','movie','pano_1' ); //end AC code
</script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="100%" height="100%">
<param name="movie" value="pano_1.swf" />
<param name="quality" value="high" />
<embed src="pano_1.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="100%" height="100%"></embed>
</object>
</noscript></body>

</html>

I do not undertand all that code, but does this problem with firefox mean that this above approach should be standard to ensure the panoramas can be viewed by every body?
Best regards
Morten Andersen

phberlin
09-13-2007, 12:20 AM
I do not understand all that code, but does this problem with firefox mean that this above approach should be standard to ensure the panoramas can be viewed by every body?

W3C says it isn't, see here (http://validator.w3.org/check?uri=http%3A%2F%2Fwww.visite-saint-malo.com%2Fvisite_virtuelle_de_saint_malo.html&charset=%28detect+automatically%29&doctype=Inline&group=0&verbose=1). Still it works with Firefox now. So if you care about web standards (which is important at least in my opinion), this can't be your choice. If you don't, take it and it seems to be working.