Since the Embed tag is the private property of Netscape, it has never been recognized by W3C. The use of the Embed tag for various media files is not standard. How can we change it? Elizabeth Castro's Bye Embed article provides good web-compliant code for various media players.
FLash files
Copy codeThe Code is as follows: <object type = "application/x-shockwave-flash"
Data = "http://video.google.com/googleplayer.swf? »
8755581808731033658"
Width = "400" height = "326" id = "VideoPlayback">
<Param name = "movie"
Value = "http://video.google.com/googleplayer.swf? »
DocId = 8755581808731033658 "type =" codeph "text ="/codeph "/>
<Param name = "allowScriptAcess" value = "sameDomain"/>
<Param name = "quality" value = "best"/>
<Param name = "bgcolor" value = "# FFFFFF"/>
<Param name = "scale" value = "noScale"/>
<Param name = "salign" value = "TL"/>
<Param name = "FlashVars" value = "playerMode = embedded"/>
</Object>
Windows Media Player file Copy codeThe Code is as follows: <object type = "video/x-ms-wmv"
Data = "http://www.sarahsnotecards.com/catalunyalive»
Fishstore. wmv"
Width = "320" height = "260">
<Param name = "src"
Value = "http://www.sarahsnotecards.com/catalunyalive»
Fishstore. wmv "/>
<Param name = "autostart" value = "true"/>
<Param name = "controller" value = "true"/>
</Object>
The above Code does not have a unique classid for Windows Media Player. The author tested IE5.5, IE6, IE7, Opera Win/Mac, Firefox Win/Mac, and Safari.
Quick time movies no embed tag
Copy codeThe Code is as follows: <object classid = "clsid: 02BF25D5-8C17-4B23-BC80 -»
D3488ABDDC6B"
Codebase = "http://www.apple.com/qtactivex/qtplugin.cab"
Width = "320" height = "260">
<Param name = "src"
Value = "http://www.sarahsnotecards.com/catalunyalive»
Diables. mov "/>
<Param name = "controller" value = "true"/>
<Param name = "autoplay" value = "false"/>
<! -- [If! IE]> -->
<Object type = "video/quicktime"
Data = "http://www.sarahsnotecards.com/catalunyalive»
Diables. mov"
Width = "320" height = "260">
<Param name = "autoplay" value = "false"/>
<Param name = "controller" value = "true"/>
</Object>
<! -- <! [Endif] -->
</Object>