In a htm file(IE), I use the "object" to include a plugin written in Visual Studio, the plugin is used to show video from a camera.
Now there is a need to put a div over the object,but I find that the div is always below the video and z-index does not work.I searched the Internet and find that "object" is a windowed element in IE, and all the windowed element will be shown over the windowless element.
What I find is all like this and there is no solutions to put div over the object : How to cover an IE windowed control (Select Box, ActiveX Object, etc.) with a DHTML layer?.
It seem that the only way to put div over the object is to use iframe(but i'am not sure), put ifame over the object and put div over the iframe,but if the div has a round corner,the color in the corner of the iframe is the color of the whole page instead of the video,that confused me a lot. I have searched for the solution for many days but no result.
what I want to solve is below:
- Without using iframe, can I put the div over the object(Windowed element)?
- While using iframe, can I make the color in the corner of the iframe be the color of the video?