Web|web Standard | media
Bye, embed. Web-standard code for some media players
As the embed label is Netscape's private property, it has not been recognized by the consortium, the use of embed labels for various media documents is non-standard, how to change? Elizabeth Castro's Bye Bye Embed for a variety of media players to give a good code that conforms to the Web standard.
Online media play--google video and YouTube
<object type= "Application/x-shockwave-flash"
Data= "http://video.google.com/googleplayer.swf?" »
8755581808731033658 "
Width= "height=" "326" id= "Videoplayback" >
<param name= "movie"
Value= "http://video.google.com/googleplayer.swf?" »
docid=8755581808731033658 "/>
<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>
is actually a flash file call
Windows Media Player File
<object type= "Video/x-ms-wmv"
Data= "http://www.sarahsnotecards.com/catalunyalive/»
Fishstore.wmv "
Width= "height=" >
<param name= "src"
Value= "http://www.sarahsnotecards.com/catalunyalive/»
Fishstore.wmv "/>
<param name= "Autostart" value= "true"/>
<param name= "Controller" value= "true"/>
</object>
The code above does not have Windows Media Player-specific classid, and is tested by the author in IE5.5, IE6, IE7, Opera Win/mac, Firefox Win/mac, Safari.
QuickTime Movies No Embed tags
<object classid= "clsid:02bf25d5-8c17-4b23-bc80-»
D3488ABDDC6B "
Codebase= "Http://www.apple.com/qtactivex/qtplugin.cab"
Width= "height=" >
<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= "height=" >
<param name= "AutoPlay" value= "false"/>
<param name= "Controller" value= "true"/>
</object>
<!--<! [endif]-->
</object>