Hi,

I want to add a flash element into a block.

here is the code:

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="550" height="180"><param name="movie" value="themes/solocarp/flash/headerhome.swf" /><param name="quality" value="high" />
<embed src="themes/solocarp/flash/headerhome.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="550" height="180"></embed>
</object>

but when i select full html and paste the code in, it adds <br />inbetween the object and embed section of the code which messes the design up.

how do i force drupal to read pure html and not edit any of the code with line breaks?

thanks

dave.

Comments

pobster’s picture

I will assume you've just left your line break filter 'on'...

Go to: admin->input formats->full html and uncheck 'line break converter'. That should do the trick.

Pobster

axbom’s picture

Just a reminder to the community: for accessibility purposes the best way to embed Flash is with the FlashObject script.
http://blog.deconcept.com/swfobject/

Everything works great and your site can stay true to XHTML 1.0

You can see how I've done it on my site when for example embedding a Flash film from YouTube; it's in Swedish but the code is universal ;)
http://www.axbom.se/blogg/monser-jam-stockholm-2006

--
http://www.axbom.se