Can't display the flash in IE.

Author Message

Jun Zheng

Wednesday 19 November 2008 11:02:16 pm

I embed a flash in the frontpage, but it wasn't work in IE. I modified the flash.tpl using swfobject.js and many ways, unfortunately, it was still not work in IE, but in the firefox there were worked. What's wrong??

Bill Du

Thursday 20 November 2008 1:32:19 am

I have same question, please help

Pascal Specht

Friday 21 November 2008 4:42:53 am

Hi!

there's an issue starting with release 10.0.2 of the Adobe Flash plugin: maybe you're victim of this issue:

http://issues.ez.no/13783

</Pascal>

Original Adobe response:

<i>
Content-Disposition header may prevent SWF files from playing

Some HTTP servers sometimes send a response header that looks like this:

Content-Disposition: attachment

The purpose of this response header is to indicate to client software (browsers, Flash Player, e-mail clients, etc.) that the file being returned should not be rendered inline as active content. For example, imagine you're reading e-mail messages on a web-based service and you click a link that represents a file attached to a message. The server may well respond with "Content-Disposition: attachment"—meaning, "Hey, browser, don't open this file. Save it to disk instead." This header can sometimes serve a security purpose: If a server provides files that were uploaded by untrusted users, the "Content-Disposition: attachment" header can help prevent those files from being executed in the server's domain.

Starting with version 10,0,2, if Flash Player sees a "Content-Disposition: attachment" header while downloading a SWF file, it will ignore the SWF file rather than play it. Note that this restriction applies only to SWF files and not to other types of content, such as images, sounds, text, or XML files, policy files, etc.
</i>

Jun Zheng

Sunday 23 November 2008 11:08:47 pm

Thank you for you help . I modified the code like this:

<param name="movie" value="{ezsys('wwwdir')}/{$attribute.content.filepath}"/>

so far, I know i lose the embed-view policy, I don't know whether if it would take me some other problem.

Richard Lundberg

Wednesday 26 November 2008 6:50:10 am

Check if it works in Firefox 3.

If it does not then it could be this issue.

http://ez.no/developer/forum/setup_design/problem_with_flash_and_firefox_3

I had the same problem and thought it was IE7, but it happened with Firefox 3 as well and solution detailed in the above post fixed it.

www.peakm3.com

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 15:03:01
Script start
Timing: Jan 18 2025 15:03:01
Module start 'layout'
Timing: Jan 18 2025 15:03:01
Module start 'content'
Timing: Jan 18 2025 15:03:03
Module end 'content'
Timing: Jan 18 2025 15:03:03
Script end

Main resources:

Total runtime1.5305 sec
Peak memory usage4,096.0000 KB
Database Queries67

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0060 589.3438152.6250
Module start 'layout' 0.00600.0040 741.968839.4453
Module start 'content' 0.01001.5189 781.4141631.0313
Module end 'content' 1.52890.0015 1,412.445312.1641
Script end 1.5304  1,424.6094 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00380.2491160.0002
Check MTime0.00130.0873160.0001
Mysql Total
Database connection0.00120.077210.0012
Mysqli_queries1.468395.9403670.0219
Looping result0.00070.0467650.0000
Template Total1.481396.820.7406
Template load0.00200.132620.0010
Template processing1.479296.651720.7396
Template load and register function0.00020.013410.0002
states
state_id_array0.00250.166210.0025
state_identifier_array0.00250.160320.0012
Override
Cache load0.00170.1110300.0001
Sytem overhead
Fetch class attribute can translate value0.00060.037140.0001
Fetch class attribute name0.00100.066970.0001
XML
Image XML parsing0.00320.206040.0008
class_abstraction
Instantiating content class attribute0.00000.001070.0000
General
dbfile0.00250.1638220.0001
String conversion0.00000.000640.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
5content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
8content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
2content/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: 20
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs