Java Reference
In-Depth Information
Figure 13-2
You'll see a list of all the plug-ins installed on your browser. The value required for the type attribute
is listed as the Multipurpose Internet Mail Extensions (MIME) type, which specifi es a type of content
such as a web page, an image, or a Flash fi le. For example, the MIME type for Flash is application/
x-shockwave-flash.
In addition to a number of attributes common to all plug-ins, you can also use the <embed/> element to
specify properties specifi c to a particular plug-in. For example, the Flash plug-in supports the quality
attribute, which determines the image quality of the Flash movie. To set this attribute in the <embed/>
element, you just add it to the list of attributes set, as shown in the following example:
<embed id=”FlashPlugIn1”
src=”topmenu.swf”
border=0
height=100
width=500
quality=high
type=”application/x-shockwave-flash” />
Although Firefox supports the <embed/> element, it also supports the use of the HTML standard <object/>
element for embedding plug-ins into the page, in a similar way to IE, which you will see shortly.
Search WWH ::




Custom Search