[webkit-dev] HTML Layers above plugin

Evan Martin evan at chromium.org
Sun Nov 29 10:07:22 PST 2009


On Sun, Nov 29, 2009 at 7:11 AM, Andre-John Mas <ajmas at sympatico.ca> wrote:
> I am currently investigating the possibility of using a web container for an HTPC system. As part of the design I am looking at is to use the multiple tab views to embed the necessary elements. One would concentrate on the menu and another on the embedded player (via plugin). For the view showing the plug-in I have two approaches that I am looking at, where is either work with with plug-in developers to add the necessary chrome needed to display the play various information or to somehow overlay 'controls' in HTML.
>
> If I do create a layer with a z-index above the video plugin it will get obstructed by the plugin. On the other hand I am able to hide the layer with the plug-in without any issue. Is there are a way to draw HTML above the plugin? If not is there any technical reason why something like this could not be implemented?

This is a web development question and probably not appropriate for
this list, but:
- If the plugin is windowed, consulting your favorite search engine
for [iframe shim] will put you on the right track.
- If the plugin supports windowless mode, it layers like a normal HTML
element.  E.g. see [flash wmode] for discussion of this for Flash.


More information about the webkit-dev mailing list