How do I do this correctly?

I have tried using the embed tag and Full HTML imput type which works in other HTML pages, but not drupal. Thoughts anyone?

Comments

TLh’s picture

I have wanted to do this as well. Really, I would like to have it in my header image on my index page.

-TLh

urthwalker@thehindsightfactor.com’s picture

Check out www.thehindsightfactor.com

It took me a while to figure this out, and there was an incompatability between IE and firefox that required some creative positioning, but it works now and is stable. The only problem is that it is linked directly with a particular theme, so I cannot have users change themes on their own without programming the change into each theme directly. If you're interested still, let me know and I will post my source code.

I would like to be able to have this load independant of the theme. Any ideas on how to do this?

briandelicata’s picture

It can be done. I am using ufo (unobtrusive flash objects) - http://www.bobbyvandersluis.com/ufo/ - for javascript and a div tag to display flash.

You can see my working version here: http://www.regiscollege.ca

Brian

thechraveler’s picture

can you post an example of the

tag that you are using please?
briandelicata’s picture

I create a new page, set it as full html, linked the javacript to display flash - in my case I am using UFO and than created a new div tag with the flash attributes.

avolve’s picture

i tried this for a block on a community site i am putting together (typography needs work still).

The 'replacement content' appears so it must be working to some level?

here is the code - anyone see something amiss with this?

In the head (page.tpl.php) i put what is stipulated on http://www.bobbyvandersluis.com/ufo/ [can't post the code here for some reason]

In the block

<div id="Flash">
<p align="center"><img src="/files/images/boat_sheds.jpg"></p>
</div>

The image lods and not the swf file (i.e. the 'replacement content')

any ideas?

avolve designs | ethical by design