Outdated: Playing Flash as "embed" Elements on IE 8
This section provides a tutorial example on how IE 8 renders Flash files specified in the 'src' attribute of an 'object' element.
To see how IE handles the Flash provided in the "src" attribute of
an "embed" element, I opened object_swf.html created in the previous section with IE 8,
and got a warning message first,
"To help protect your security, Internet Explorer has restricted
this webpage from running scripts or ActiveX controls that
could access your computer. Click here for options..."
in the information bar.
I clicked the warning message and selected the "Allow Blocked Content..." option.
The "Security Warning" dialog box showed up saying:
"Allowing active content such as script and ActiveX controls
can be useful. However, active content might also harm your computer.
- Are you sure you want to let this file run active content?"
I clicked the "Yes" button.
Flash Player ActiveX got executed and I saw
and saw an animation running in all 3 test sections:
What I learned from the result:
- Test 1 shows that IE 8 is smart to use the file name extension to determine the content type
and run the Flash Player ActiveX to render the flash file.
But the flash file is rendered in a display area of predefine default size, because no "width" and "height" provided.
- Test 2 shows that IE 8 works correctly with "width" and "height" provided. "type" attribute is optional.
- Test 3 shows that IE 8 recognizes type="application/x-shockwave-flash" as Flash content type.
IE 8 also resize the display area based on "width" and "height" attributes.
However, when I uploaded embed_swf.html to my Apache Web server and open it remotely,
IE 8 gave me identical result without any warning messages!
Comparing with Firefox 3, IE 8 behaves ok on rendering flash files provided in "embed" elements.
The only issue is that IE gives 2 warning message before running the plugin if the HTML document is opened as a local file.
Last update: 2010.
Table of Contents
About This Book
Introduction of Adobe Flash
Adobe Flash Player Plugin for Firefox
Adobe Flash Player Plugin for Chrome
Adobe Flash Player Plugin for Safari
Adobe Flash Player ActiveX for IE
Using "object" Elements for Flash Files
Using "embed" Elements for Flash Files
"mp3player" - MP3 Music Player
Flash Player Projector
SWFTools - SWF File Manipulation Tools
SWFC Script to Generate Flash SWF Files
ActionScript Embedded in SWFC Script
AS3Compile - ActionScript 3 Compiler
Adobe Flex SDK 4
SWF File Structure and Tags
SWF File Processing Rules
SWF Files for Video and Audio Streams
Outdated: Missing Adobe Flash Player Plugin on Firefox 26
Outdated: Installing Adobe Flash Player 13 for Firefox 26
Outdated: Adobe Flash Player 13 Installation with Adobe DLM
Outdated: Verifying Adobe Flash Player 10 Installation for Firefox 3
Outdated: Adobe Flash Player 10 Installation with Adobe DLM
Outdated: Missing Adobe Flash Player ActiveX on IE 8
Outdated: Verifying Adobe Flash Player Installation for IE 8
Outdated: Displaying Images as "object" Elements on Firefox 3
Outdated: Displaying Images as "object" Elements on IE 8
Outdated: Playing Flash as "object[@data]" on IE 8
Outdated: Displaying Images as "embed" Elements on Firefox 3
Outdated: Displaying Images as "embed" Elements on IE 8
►Outdated: Playing Flash as "embed" Elements on IE 8
Outdated: Downloading and Running Flash Player Projector 10
PDF Printing Version