Media objects show through new div-based dialogs
|Reported by:||wymsy||Owned by:||gogo|
If a new dialog overlaps a video or audio object, the object can show through the dialog. In the case of flash objects there is a workaround by setting wmode='opaque' or wmode='transparent', but the others (quicktime, windows media, etc.) have no such attribute. The only way I have found to avoid the problem is to set visibility to 'hidden' on every object in the show() function in XinhaDialog?.js, and make them visible again in hide(). This works, but a couple of issues come to mind:
- Should this be a configurable option, so that someone who only uses flash can keep the object visible in the background using wmode?
- Should we consider the special case where an object has already been set up as hidden, and not restore its visibility? This seems like a fringe case, but in theory it could happen. It would require devising a way to mark the already-hidden object. Is it worth the effort and overhead?