Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

HTML Object over a SWF

I have a SWF Video player on my webpage. I want to draw a div tag over it with a high z-index to act as a popup on it . Its a very generic popup. Hence I cannot make it as a part of swf. but, SWF seems to have very high zIndex and would not allow any HTMLO entity to sit over it. How do I achieve this or is there an alternate solution.

Thanks.

like image 668
Rakesh Avatar asked Feb 16 '26 03:02

Rakesh


1 Answers

There are some arguments that have to be passed to the SWF file in order to be able to achieve that. In the HTML representation, inside the object tag you should put:

<param name="wmode" value="transparent">

and...

<embed wmode="transparent" ... 

A similar value should apply if you're using a JS library to render the SWF object.

like image 151
Ionuț G. Stan Avatar answered Feb 17 '26 15:02

Ionuț G. Stan



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!