1. <embed></embed> Multimedia Tags
Features: Used to embed plugins in Web pages to play multimedia files
Compatible: Not a specification element, but the general browser is supported, the Web recommended to use <object> replace it. Different plug-in properties may not be the same.
<embed> This label is not recommended, Netscape support
?
<embed> Property Description:
Width???????????? Width
Height???????????? Height
Src???????????? Multimedia file URL
Mode???????????? Sets whether the player background is transparent
Value:
Transparent???????? Transparent
Quality???????????? Set Playback quality
--Take value:
???? High
???? Low
Type???????????? Set Playback type
Value:???????? Application/x-shockwave-flashplayer
??
Pluginspage???? Sets the multimedia playback.
Example:
<embed src= "images/banner.swf" width= "778" height= "202" quality= "High" Pluginspage= "Http://www.macromedia.com/go/getflashplayer" type= "Application/x-shockwave-flash" wmode= " Transparent "></embed>
?
Note: If you want to implement the ability to load multimedia files such as flash files, simply refer to the code in the Example section and change the blue section to the path, height, width, and other attributes and attribute values that you need to introduce into the file.
2. <object></object> Label
is the standard,
?
Common Properties:
CLASSID: Set the registration code for multimedia playback
CODEBASE:???????? Set when the browser does not have a flash plugin installed
?
<param> tags
Description
???? Mainly used to set the parameters of multimedia playback
???? <param name= "movie" value= "images/banner.swf" >
???? Set the URL of a multimedia file
???? <param name= "Quality" value= "High" >
???? Set playback quality to high
???? <param name= "wmode" value= "Transparent" >
???? Sets the player background to be transparent.????
?????
?
?
Example:
<object classid= "clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase= "http://download.macromedia.com/pub/ shockwave/cabs/flash/swflash.cab#version=6,0,29,0 "width="778"height="202">
???????? <param name= "movie" value= "images/banner.swf" >
???????? <param name= "Quality" value= "High" >
???????? <param name= "wmode" value= "Transparent" >
</object>
?
Note: If you want to implement the ability to load multimedia files such as flash files, simply refer to the code in the Example section and change the blue section to the path, height, width, and other attributes and attribute values that you need to introduce into the file.
?
3, <embed> and <object> comparison:
Both are objects that are used to play multimedia files.
The object element is used in IE browser, embed element for non-IE browser, in order to ensure compatibility, usually we use two elements simultaneously, the browser will automatically ignore its unsupported tags.
?
If you are compatible with multiple browsers, you should write <embed> and <object> together.
?
<object classid= "clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase= "http://download.macromedia.com/pub/ shockwave/cabs/flash/swflash.cab#version=6,0,29,0 "width=" 778 "height=" 202 ">
<param name= "movie" value= "images/banner.swf" >
<param name= "quality" value= "High" >
<param name= "wmode" value= "Transparent" >
<embed src= "images/banner.swf" width= "778" height= "202" quality= "High" pluginspage= "Http://www.macromedia.com/go /getflashplayer "type=" Application/x-shockwave-flash "wmode=" Transparent "></embed>
</object>
Multi-Media Label explanation