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

Posted on 2010-01-04
Last Modified: 2013-11-19
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!?
Question by:andre_st

    Author Comment

    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...
    LVL 29

    Assisted Solution

    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.

    Author Comment

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

    Accepted Solution

    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.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Why You Should Analyze Threat Actor TTPs

    After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

    Suggested Solutions

    SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
    Use these top 10 tips to master the art of email signature design. Create an email signature design that will easily wow recipients, promote your brand and highlight your professionalism.
    In this tutorial viewers will learn how to embed Flash content in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <object> tag to embed Flash content.: To specify that the object is Flash content, d…
    The viewer will get a basic understanding of what section 508 compliance can entail, learn about skip navigation links, alt text, transcripts, and font size controls.

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    14 Experts available now in Live!

    Get 1:1 Help Now