Goodbye to Embed, some media player code that complies with web standards
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.
Online media playback-Google Video and YouTube
The code is as follows: |
Copy code |
<Object type = "application/x-shockwave-flash" Data = "http://video.google.com/googleplayer.swf? & Raquo; 8755581808731033658" Width = "400" height = "326" id = "VideoPlayback"> <Param name = "movie" Value = "http://video.google.com/googleplayer.swf? & Raquo; 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>
|