Forum Moderators: open

Message Too Old, No Replies

flash problem in FF with just embed tag

strange positioning

         

BenSeb

7:54 pm on Feb 26, 2007 (gmt 0)

10+ Year Member



Hi

I've just come across a problem that i hope someone else has encountered.

Basically, I have a page at <url removed>

If I add the following code, everything displays fine :


<DIV style='border:1px solid red' >
<div style='margin:40px
<object>
<param value="http://www.youtube.com/v/<snip>" name="movie" />
<param value="transparent" name="wmode" />
<embed width="425" height="350" wmode="transparent" type="application/x-shockwave-flash" src="http://www.youtube.com/v/<snip>"></embed></object>

</div>
</div>

but the following code shows the movie outside the div (see the object tags removed.) Unfortunately this is the code supplied by a lot of 'myspace widget' sites (i presume myspace doesnt allow object tags), so i have to try and make my site work with it! It does work if you wrap an <object> tag around it, but again the code supplied on these sites doesnt come with this!


<DIV style='border:1px solid red' >
<div style='margin:40px'>
<param value="http://www.youtube.com/v/<snip>" name="movie" />
<param value="transparent" name="wmode" />
<embed width="425" height="350" wmode="transparent" type="application/x-shockwave-flash" src="http://www.youtube.com/v/<snip>"></embed><BR CLEAR='ALL' />&nbsp;

</div>
</div>

any wise words?

Apologies for cross post, realised this should be in the flash forum!

[edited by: engine at 9:27 am (utc) on Feb. 27, 2007]
[edit reason] Specifics [/edit]