Divx WebPlayer Z-index 'solution'

No replies
FrogLand
FrogLand's picture
User offline. Last seen 1 year 10 weeks ago. Offline
Joined: 06/30/2008
Posts: 9
Groups: None

Hi all,

I have asked few weeks ago if it was possible to z-index the webplayer without success ( concerning problem with drap&drop, modal display etc ... ) , after many try I find a very simple way that solve 90% of my problem. so as i saw some other post concerning the same problem, let's share ;-)

[div id='container']
[object webplayer ......]
[/div]

javascript

example onDrag ->
document.getElementById('container').style.visibility='hidden';
example onDrop ->
document.getElementById('container').style.visibility='';

The video continue to play hidden and no more problem

Hope this help ;-)