After encountering a bug with a non-clickable video player inside a jquery ui dialog, I resolved the issue by changing position:relative; to position:inherit;
Other solutions included removing position:relative; altogether or adjusting the z-index of the player class to something other than 1.
Upon further reading, it became clear that these changes impacted the stacking context and ultimately fixed the problem. However, I still lack a full understanding of what was happening in my specific scenario or how stacking contexts function in general. Can anyone provide additional examples or suggestions to shed light on this?
<div class="player">
<div id="videoPlayer_wrapper" style=" position: relative; width:580px; height: 192px;">
<object type="application/x-shockwave-flash" data="/flash/player.swf" width="100%" height="100%" bgcolor="#000000" id="videoPlayer" name="videoPlayer" tabindex="0">
</object>
</div>
</div>
The CSS for player is as follows:
.player {
margin-bottom: 20px;
position: relative;
z-index: 1;
}