Playing Flash as "embed" elements on Firefox 26
This section provides a tutorial example on how Firefox 26 renders Flash files specified in the 'src' attribute of an 'embed' element.
To see how Firefox handles the Flash provided in the "src" attribute of
an "embed" element, I opened embed_swf.html created in the previous section with Firefox 26
and saw an animation running in all 3 test sections:
What I learned from the result:
- Test 1 shows that Firefox 26 is smart to use the file name extension to determine the content type
and run the Flash Player Plugin 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 Firefox 26 works correctly with "width" and "height" provided. "type" attribute is optional.
- Test 3 shows that Firefox 26 recognizes type="application/x-shockwave-flash" as Flash content type.
Firefox 26 also resize the display area based on "width" and "height" attributes.
Last update: 2014.
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
What Is "embed" Element?
Displaying Images as "embed" Elements - Example
Displaying Images as "embed" Elements on Firefox 26
Displaying Images as "embed" Elements on IE 10
Playing Flash as "embed" Elements - Example
►Playing Flash as "embed" elements on Firefox 26
Playing Flash as "embed" Elements on IE 10
Playing Flash with Nested "object.embed" Elements
"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 Struture and Tags
SWF File Processing Rules
SWF Files for Video and Audio Streams
PDF Printing Version