Validating html with an embedded SWF file

Hello,
I’ve created a website that also incorporates an embedded SWF file that I created. The problem is that the html page is not XHTML 1.0 Transitional when I tried to validate it using http://validator.w3.org/. The way that I embedded it was firstly the usual way of Insert>Media>Flash which gave me a code such as this:

<object id=“video” classid=“clsid:D27CDB6E-AE6D-11cf-96B8-444553540000” codebase=“http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0” width=“350” height=“250” title=“greenhouse”>
<param name=“movie” value=“media/video.swf” />
<param name=“quality” value=“high” />
<embed src=“media/video.swf” quality=“high” pluginspage=“http://www.macromedia.com/go/getflashplayer” type=“application/x-shockwave-flash” width=“350” height=“250”></embed>
</object>

My question is, how do I change this code to make it XHTML 1.0 transitional and also be able to play through most browsers through streaming? I appreciate your help.