How do I place HTML content above a Flash movie?
Make sure the FlashVar "wmode" is set to "transparent" or "opaque," but NOT the default, "windowed"... then you should be able to use CSS z-index
Google Chrome, Flash and z-index wrong behaviour
Add wmode="transparent"
to your <embed>
tag. Like the following.
<embed wmode="transparent"
height="314" width="516"
type="application/x-shockwave-flash"
id="player"
name="page_player"
src="/swfs/player.swf"
allowscriptaccess="always"
allowfullscreen="true"
flashvars="file=/attachments/files/u_t_o_N_1.mp4">
And hide the div of the hello
image if that is not necessary.
I hope this helps!
Drag control over flash movie issue?
Add this param to your <object>
:
<param name="wmode" value="transparent">
Be aware that there are some issues with this solution (performance, handling hit areas, etc), but this may give you what you need.
Check out this handy demonstration of different WMODEs.
Why doesn't Z-Index in IE render the way it's supposed to over a Flash Movie?
If your flash movie is burying your other content you may have luck by adding an additional param element to your embedded object:
<param name="wmode" value="opaque" />
For a longer answer you can see this blog post about stacking windowed / flash content. Adobe has a TechNote about this issue, too.
Related Topics
Fade Background Image in and Out with Jquery
JavaScript - .Innerhtml Changes Auto Close Tags
How to Keep the Menu State on Page Reload
How to Reorder Divs Using Flex Box
How to Open New Tab in JavaScript Without Switching to the New Tab
Check If HTML Snippet Is Valid with JavaScript
Scrolltop Animation Without Jquery
Closing Websocket Correctly (Html5, JavaScript)
Remove Leading Zeros from a Number in JavaScript
Change Image in HTML Page Every Few Seconds
Add Elements to the Dom Given Plain Text HTML Using Only Pure JavaScript (No Jquery)
JavaScript in <Head> or Just Before </Body>
Using JavaScript to Change Website Language
How to Filter Input Type="File" Dialog by Specific File Type
Class Methods as Event Handlers in JavaScript
How to Test If a Variable Does Not Equal Either of Two Values