I have a situation where I am using a flowplayer along with some div tags beneath it. Whenever a div tag is clicked, it should display another div tag, creating a dialog box effect on top of the page. However, the issue is that the flowplayer always stays on top of the div.
Even after trying to set the z-index of the div, it doesn't seem to work as expected.
Is there a specific method in flowplayer that can help reduce its z-index or allow my div to be placed above it?
I have also experimented with the wmode property for the flowplayer, but unfortunately, that didn't solve the problem either.
Below is the snippet of code I am currently working with:
<script type="text/javascript" src="/common/js/flowplayer-3.2.9.min.js"></script>
<a href="<?php echo $this->hotelVideoUrl; ?>"
style="display:block;width:304px;height:208px; z-index: -1; position: relative;"
id="player">
</a>
<script language="JavaScript">
flowplayer("player", "/common/js/flowplayer-3.2.10.swf",{
clip: {
autoPlay: true,
autoBuffering: true
},
wmode: 'opaque/transperent'
});
</script>