View Full Version : Validating Flash Movie in XHTML

10-05-2007, 06:11 PM

im struggling to validate my current xhtml web page the only thing left is to change the embed flash into the code below, witch worked i know longer have any errors

this is all good but the movie wont play any one have any ideas?

i want it to be supported in all browsers to but atm it looks like its only going to work in EXPLORER

<object type="application/x-shockwave-flash" data="justin home.swf" width="431" height="68">
<param name="movie" value="justin home.swf" />
<param name="BGCOLOR" value="#000000" />
<a title="You must install the Flash Plugin for your Browser in order to view this movie" href="http://www.macromedia.com/shockwave/download/alternates/"><img src="needplugin.gif" width="431" height="68" alt="placeholder for flash movie" /></a>

10-05-2007, 11:37 PM
<script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','400','height','400','src','FLVPlayer_Progressive','quality',' high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','movie' ); //end AC code
</script><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="400" height="400">
<param name="movie" value="movie.swf" />
<param name="quality" value="high" />
<embed src="movie.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="400" height="400"></embed>

use the .js file attached - this is the standard way that flash is inserted with dreamweaver

10-10-2007, 04:21 PM
still cant get the player to work and validated... going to have to go back to the embedded tag it looks like :(

10-10-2007, 04:44 PM
Take a look at SWFObject (http://blog.deconcept.com/swfobject/)

10-10-2007, 05:33 PM
thanks for the link very helpful, just a little confusing im going to play with it and see