I need someone who know to validate an js/flash embed code xHtml W3C Here is the code: <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" type="application/x-shockwave-flash" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="<?php echo $width; ?>" height="<?php echo $height; ?>" hspace="0" vspace="0"> <param name="movie" value="<?php echo $image; ?>" /> <param name="quality" value="high" /> <param name="wmode" value="transparent" /> <embed src="<?php echo $image; ?>" width="<?php echo $width; ?>" height="<?php echo $height; ?>" hspace="0" vspace="0" quality="high"/> </object> HTML: Please dont try to validate it with any of auto validate website cause it will not work for me. This code is comeing from an joomla module, who take random swf flash. this line <embed src="<?php echo $image; ?>" width="<?php echo $width; ?>" height="<?php echo $height; ?>" hspace="0" vspace="0" quality="high"/> HTML: it's seems to be the problem because <embed> is not recognize it by HTML. Please PM me if you know ho to fix it. I need it right now. i will pay 3$ via paypal Payment after i test the code into my website. Regards Paladin884
I had that problem before and <embed> will not validate under xhtml. There isn't much to my knowledge you can do. Is there anyway to replace your flash with jQuery instead? Is it a slider or something?