| Object code doesn't work can call directly from server, works with iframe |
chasmcg

msg:3665693 | 12:54 pm on Jun 3, 2008 (gmt 0) | I'm trying to call an SWF audio file from within an htm file with the code below. I have a program that converts a wav file to a SWF file. It also outputs a player.XML file, player.SWF and a player.HTML file. And it outputs the code below but it doesn't work. <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="62" height="28"> <param name="movie" value="player.swf" /> <param name="quality" value="high" /> <param name="wmode" value="transparent"> <embed src="player.swf" quality="high" type="application/x-shockwave-flash" WMODE="transparent" width="62" height="28" pluginspage="http://www.macromedia.com/go/getflashplayer" /> </object> I can code an iFrame and have src="player.swf" and it works great. I can call the file directly from the server..www.website.com/player.swf... and it works fine. Or call the audio file...www.website.com/ccr-rttj.swf and it works fine. I just can't call it by placing the code above in an htm file. Anybody know what is happening? Thanks for any assistance.
|
ahajdu

msg:3674107 | 3:21 pm on Jun 13, 2008 (gmt 0) | try this way <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="258" height="196"> <param name="movie" value=" [yourdomain.com...] /> <param name="quality" value="high" /> <param name="wmode" value="transparent"> <embed src=" [yourdomain.com...] " quality="high" type="application/x-shockwave-flash" WMODE="transparent" width="258" height="196" pluginspage="http://www.macromedia.com/go/getflashplayer" /> </object> If its doesnt work, get rid of this: <param name="wmode" value="transparent">
|
|
|