Share » Forums » Setup & design » Flash in template

Flash in template

Flash in template

Saturday 17 January 2009 3:12:23 am - 4 replies

Author Message

Steven E. Bailey

Saturday 17 January 2009 7:16:44 am

I get this for the first one - which I guess means it's not a valid object:
<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="" height="">
<param name="movie" value="/global/eng" />
<embed src="/global/eng" />
</div>

And, for the second object:
<param name="movie" value="/global/eng/var/ezwebin_site/storage/original/application/6a763c4776a06dc9e44069bcf27d2501.swf">
<embed src="/global/eng/var/ezwebin_site/storage/original/application/6a763c4776a06dc9e44069bcf27d2501.swf">

Your swf file is not at that location - you would have to drop the ezurl to get rid of the prepending of the siteaccess... but I did that and you still don't have the swf file there - it should be in your storage directory which is set by the filesettings vardir variable in your ini file. as in <vardir>/storage/original/application/6a763c4776a06dc9e44069bcf27d2501.swf you might want to check that it is there. If it's not... then why not? Did you add ezwebin after uploading the content?

Certified eZPublish developer
http://ez.no/certification/verify/396111

Available for ezpublish troubleshooting, hosting and custom extension development: http://www.leidentech.com

Dan Mansfield

Saturday 17 January 2009 7:29:57 am

That is what is bizarre, I also did that and found that I couldn't reference the object directly through its url. But if I shell into the server and look in that folder it is sitting there?!
I'm checking through the permissions at the moment to see if that is where the issue lies.

The permissions look fine. I've dropped the ezurl to remove the siteaccess as you suggest.
Something very strange is going on.

Dan Mansfield

Saturday 17 January 2009 8:41:42 am

also tried copying to the root folder /global and trying the url in the browser from there and it wouldn't find the file. Is it recognising that it is a swf file and trying to process it accordingly and then failing somewhere?

This was a default install of 4.0.1 and it also has the latest ezComponents installed too.

Dan Mansfield

Saturday 17 January 2009 10:36:26 am

Thanks for your help. I rewrote my class and just had an xml block and then inserted the flash object instead.

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu