jasonc Posted May 23, 2010 Share Posted May 23, 2010 errors are.... embed... there is no attribute "src" there is no attribute "quality" there is no attribute "pluginspage" there is no attribute "type" there is no attribute "width" there is no attribute "height" element "embed" undefined the flash works but still getting this error from w3.org site. any suggestions on a better code to pass w3.org and have it working? <script type="text/javascript"> AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','548','height','410','src','images/plane','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','images/plane' ); //end AC code </script> <noscript> </noscript> <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="548" height="410"> <param name="movie" value="images/plane.swf" /> <param name="quality" value="high" /> <embed src="images/plane.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="548" height="410"></embed> </object> Quote Link to comment https://forums.phpfreaks.com/topic/202654-getting-w3org-errors-what-is-corredct-method-to-add-a-flash-file/ Share on other sites More sharing options...
ignace Posted May 23, 2010 Share Posted May 23, 2010 You can't, embed is not part of both (X)HTML and will therefor not validate. I don't know of any alternative, HTML5 maybe? Quote Link to comment https://forums.phpfreaks.com/topic/202654-getting-w3org-errors-what-is-corredct-method-to-add-a-flash-file/#findComment-1062272 Share on other sites More sharing options...
jasonc Posted May 23, 2010 Author Share Posted May 23, 2010 how would code should i have so flash added to my is valid in w3 ? Quote Link to comment https://forums.phpfreaks.com/topic/202654-getting-w3org-errors-what-is-corredct-method-to-add-a-flash-file/#findComment-1062279 Share on other sites More sharing options...
ricmetal Posted May 24, 2010 Share Posted May 24, 2010 try with embedding your swf using swfObject2 Quote Link to comment https://forums.phpfreaks.com/topic/202654-getting-w3org-errors-what-is-corredct-method-to-add-a-flash-file/#findComment-1062749 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.