Seo news, web directory, scripts & tools, premium web templates |
| W3C valid flash or movie November 8, 2007 at 04:32 AM Many webmasters have problems with building W3C valid object for flash object. Even YouTube embed code is not W3C valid. Same is with many other embed movies or flash object offered by different services. With this example you can learn how W3C Valid flash object code should be: <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/ flash/swflash.cab#version=8,0,22,0" width="425" height="350"> <param name="movie" value="http://www.youtube.com/v/pZ9jrBg4Lwc" /> <param name="quality" value="high" /> <param name="bgcolor" value="#FFFFFF" /> <!--[if !IE]> <--> <object data="http://www.youtube.com/v/pZ9jrBg4Lwc" width="425" height="350" type="application/x-shockwave-flash"> <param name="quality" value="high" /> <param name="bgcolor" value="#FFFFFF" /> <param name="pluginurl" value="http://www.macromedia.com/go/getflashplayer" /> </object> <!--> <![endif]--> </object> This is example of correctly embed object from YouTube service. If you want to use it: enough is to change flash or movie URL (in bold) Of course other paramaters like width and height also can be changed. Check for W3C validation of this page: ![]() Another example of movie emved with javascript: 1 Response to W3C valid flash or movie Leave a reply |
| ||
December 5, 2007 at 03:59 PM