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.

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

eZ debug

Timing: Jan 18 2025 04:53:59
Script start
Timing: Jan 18 2025 04:53:59
Module start 'layout'
Timing: Jan 18 2025 04:53:59
Module start 'content'
Timing: Jan 18 2025 04:54:00
Module end 'content'
Timing: Jan 18 2025 04:54:00
Script end

Main resources:

Total runtime0.7324 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0054 591.3047152.6094
Module start 'layout' 0.00540.0031 743.914139.4141
Module start 'content' 0.00850.7220 783.3281459.0313
Module end 'content' 0.73050.0018 1,242.35948.1875
Script end 0.7323  1,250.5469 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.4613160.0002
Check MTime0.00130.1788160.0001
Mysql Total
Database connection0.00070.100210.0007
Mysqli_queries0.690894.3198540.0128
Looping result0.00050.0723520.0000
Template Total0.699695.520.3498
Template load0.00190.262120.0010
Template processing0.697795.261820.3488
Template load and register function0.00040.055910.0004
states
state_id_array0.00170.234010.0017
state_identifier_array0.00140.189520.0007
Override
Cache load0.00140.1970130.0001
Sytem overhead
Fetch class attribute can translate value0.00060.080720.0003
Fetch class attribute name0.00140.192520.0007
XML
Image XML parsing0.00020.025520.0001
class_abstraction
Instantiating content class attribute0.00000.000820.0000
General
dbfile0.00210.2824100.0002
String conversion0.00000.000940.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 10
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs