Problem - Flash SWF Width and Height are 0

Author Message

Greg Sanderson

Thursday 04 December 2008 7:45:07 am

Hi,

When I embed an SWF file using the OE Editor's paperclip icon the upload works and in the editor I get the paperclip icon appear for the SWF.

However when I then publish the page the Flash does not appear. I looked at the code using 'View Source' and the Flash IS there, BUT the width and height are 0, so of course the browser does not show it.

Is this a bug? Why does the default template not detect the width and height of the object? Would I need to add custom attributes to embedded content so the user could specify the width and height, but if so these would look like they applied to images too which are embedded in the same way.

Has anyone else had this problem? I am using 4.0.1

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 30 2025 21:09:26
Script start
Timing: Jan 30 2025 21:09:26
Module start 'layout'
Timing: Jan 30 2025 21:09:26
Module start 'content'
Timing: Jan 30 2025 21:09:26
Module end 'content'
Timing: Jan 30 2025 21:09:26
Script end

Main resources:

Total runtime0.0307 sec
Peak memory usage6,144.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0052 588.2578151.2266
Module start 'layout' 0.00520.0037 739.4844220.7031
Module start 'content' 0.00880.0200 960.1875993.5859
Module end 'content' 0.02890.0017 1,953.773429.9922
Script end 0.0306  1,983.7656 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00289.1590140.0002
Check MTime0.00113.5475140.0001
Mysql Total
Database connection0.00082.557010.0008
Mysqli_queries0.00227.094930.0007
Looping result0.00000.039610.0000
Template Total0.00134.110.0013
Template load0.00103.111310.0010
Template processing0.00030.942310.0003
Override
Cache load0.00072.122410.0007
General
dbfile0.00309.627180.0004
String conversion0.00000.024940.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs