我喜欢在嵌入式视频上放置一个 div 容器。像这样的东西:
<style>
#container_above_video {
position: absolute;
top: 0px;
left: 0px;
background-color: red; /*that works*/
/*background-color: rgba(255,0,0,0.5); that doesn't work*/
z-index: 99; /*has an effect at all?*/
</style>
<div id="eineID" style="top: 0px; left: 91.8889px; width: 1182.22px; height: 665px;">
<embed id="vlcplugin" target="http://localhost:8097/mainmedia.ts?wmode=transparent" version="VideoLAN.VLCPlugin.2" pluginspage="http://www.videolan.org" wmode="transparent" type="application/x-vlc-plugin" style="top: 0px; left: 91.8889px; width: 1182.22px; height: 665px;"></embed></div>
<div id="container_above_video">Some Content</div>
问题是:我需要一个元素,没有背景,或透明背景,或背景/ div 不透明 - 它不起作用......
为什么?!
请帮忙=)