SWF file not always loading properly

Author Message

Michal Slocinski

Saturday 29 December 2007 12:58:00 pm

Hi,

My problem is that SWF files added as eZ publish objects sometimes do not load on the web page. Sometimes means in ~30% cases. I can see it in firebug extension to Firefox that only 52 of 82 kB of the file is downloaded which prevents flash player from playing it. Funny thing is that I couldn't replicate this issue with IE, it seems like only Firefox is affected. But on the other hand - there is plenty of other pages with Flash objects and I didn't notice similar problem before.

So it's pretty likely that it's not eZ publish problem but some strange mixture of Firefox + eZ publish + Apache.

I'm using default Flash class which renders itself like this:

<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="125" height="415">

<param name="movie" value="/index.php/en/content/download/75/292/logo.swf" />
<param name="quality" value="high" />
<param name="play" value="true" />
<param name="loop" value="true" />
<embed src="/index.php/en/content/download/75/292/logo.swf"
type="application/x-shockwave-flash"
quality="high" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"
width="125" height="415" play="true"
loop="true" >
</embed>
</object>

Maybe you had similar experiences or some hints where to look at?

Michal

Michal Slocinski

Monday 31 December 2007 6:24:47 am

for curious - problem solved itself by restarting the browser :-) I wonder why I didn't get this idea earlier

but - what it means is that currently browsers are more like operating systems and you need to reboot every some time :-]

Piotrek Karaƛ

Monday 31 December 2007 6:35:30 am

I'd expect a browser to be consistent in its behavior, and so HTTP server. As long as I understand your problem, I would check if the browser's cache isn't trying to serve a file that it had not fully downloaded, but that's just a guess. That's why clearing the cache or restarting the browser might have helped.

But as you say, doesn't seem to be eZ related...

--
Company: mediaSELF Sp. z o.o., http://www.mediaself.pl
eZ references: http://ez.no/partners/worldwide_partners/mediaself
eZ certified developer: http://ez.no/certification/verify/272585
eZ blog: http://ez.ryba.eu

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.