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"

<!-- 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" >


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!?
Who is Participating?
andre_stAuthor Commented:
I somehow managed to post the above answer, not beeing done writing...

First of all, sorry for the late reply. There was some problem with the bank-withdrawal for the membership fee. So I wasnt able to log in.

Second, the above code seems to work. I.E. you dont need the embed code as rdivilbiss also points out. Now I can view the content locally from either the harddrive, or from a cd-rom. The above code works at least in IE 6, 7 and 8. And Mozilla firefox, which was my aim. I found this code when I tried to validate my code with the help of 

Great tool, and gives help if you need one. The link from rdivilbiss also points to a similar solution as I found.
andre_stAuthor Commented:
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...
It looks like you neither supply the classid not tye application type.  You might try <object classid="clsid:D27CDB6E-AE6D-11cf-96B8- »
444553540000" type="application/x-shockwave-flash" width="500" height="320">

To force a recalcitrant IE to load the Flash plug-in...e.g. give its classid which is recommended.  This shouldn't be needed for IE 8, but I'm not where you are so I can't test that.  Non-IE browsers of relatively recent vintage should be happy with the application/x-shockwave-flash type being set.

Many older browsers require either the classid (IE) or the never W3C approved, non-existent in the HTML spec <embed> tag which all IE browser's ignore.

I have all Flash content on my web site served without <embed> and it is working in all "current" browsers using just the <object> tag.  But I must give a great deal of the credit to A List Apart's examination of the issues.
andre_stAuthor Commented:
            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" />
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.