Link to home
Start Free TrialLog in
Avatar of andre_st
andre_st

asked on

Cant view embedded flash content on a local html-file in Internet Explorer 7

I am creating a CD for our customers with presentational material which includes html-files with embedded flash videos. Therefore these files has to run locally from the cd/dvd-drive. It is all working well on Internet Explorer 8, and FireFox - but I discovered now that some of the flash videos are not running in Internet Explorer 7.

What is perhaps more strange is that I can view these same html files / flash videos if I put these files on a webserver and open them up from there. So my guess is that this has something to with the security settings in Internet Explorer, which are more strict when it comes to running files outside of the internet? But even though I have tried to manually lowering the security settings in IE7, and not succeded... - this would not be a solution as it is not an option to send out a cd which requires the receivers to manually perform such changes.

As these files trigger an Active-X control I´ve put a "mark of the web" after the html DOCTYPE, which worked well on IE8. That is, I no longer get the active-x warning each time flash video was played. But regarding the issue with IE 7, it makes no difference. I´ve tried both: "<!-- saved from url=(0014)about:internet -->" and
"<!-- saved from url=(0016)http://localhost -->".

At the moment I am using this code:

At the top I have:

"<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<!-- saved from url=(0016)http://localhost -->"

And further down in the body tag I use:

        <object width="500" height="320">
        <param name="movie" value="film.swf"  />
        <param name="wmode" value="transparent" />
        <embed src="flash/film.swf" width="500" height="320" wmode="transparent" >
       
        </embed>

        </object>

The object tag is enclosed in a container div tag - and the html document itself makes its appearance through an "iframe" on the index-page.

When the page is viewed in IE7 the flash window object is just blank, with a red cross in the upper corner.

Do you know of any html code, script, css or what ever...I might try out to make this work on IE7!?
Avatar of andre_st
andre_st

ASKER

I might add that it also works fine if I, in the locally run html file, link to the flash file on a webserver instead. So this indicates to me that the html code I am using should be correct.

As I mentioned, the flash windows is just blank - but it is actually not a red cross in the upper left corner, but the icon which usually turns up when an image file cannot be located. Can it be that the location should be written in some other manner...? I´ve tried using "/flash/film.swf", "flash/film.swf" and "../flash/film.swf". I´ve also tried moving the flash file to the root and just using "film.swf" but it makes no difference...
SOLUTION
Avatar of rdivilbiss
rdivilbiss
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
   
<object
            type="application/x-shockwave-flash" data="flash/littlebridge/littlebridge_promo.swf"
            width="500" height="320">
            <param name="movie" value="flash/littlebridge/littlebridge_promo.swf" />
            <param name="wmode" value="transparent" />
</object>
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial