# Validating html with an embedded SWF file

**URL:** <https://forum.kirupa.com/t/validating-html-with-an-embedded-swf-file/226242>\
**Category:** web dev\
**Created:** [May 19, 2007, 4:38am UTC](https://forum.kirupa.com/t/validating-html-with-an-embedded-swf-file/226242 "2007-05-19T04:38:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![andrewsvan88](https://avatars.discourse-cdn.com/v4/letter/a/76d3ee/32.png) [@andrewsvan88](https://forum.kirupa.com/u/andrewsvan88)\
**Post date:** [May 19, 2007, 4:38am UTC](https://forum.kirupa.com/t/validating-html-with-an-embedded-swf-file/226242/1 "2007-05-19T04:38:28Z")

</div>

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/](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](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](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.
