Forums / Setup & design / Embed Flash File

Embed Flash File

Author Message

udaya suriya

Friday 02 June 2006 11:27:29 pm

can anyone pls listout the details steps to display flash swf file in content part.

how to add swf file and where?
and how to call this swf in the content part.?

it will helpful for my new project. pls.

Christian Johansen

Monday 05 June 2006 10:41:17 pm

This depends on what kind of content the flash is. If it's a part of the design or framework and won't change very often, you can store it in your design directory and use the ezdesign-operator to retrieve it into a standard object element.

Otherwise you can store it pretty much anywhere in eZ, for instance in the media section. With the default installation the flash datatype should be available. When inserting it into a piece of content, use

<embed href="eznode://<node_id>" />

Consult this page: http://ez.no/doc/ez_publish/technical_manual/3_8/reference/xml_tags#object_embedding

If you don't like the default code that is generated you can override the template in use for the class type flash.