0
我喜歡在嵌入式視頻上放置div容器。 事情是這樣的:嵌入式視頻透明元素(如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透明度 - 這是行不通的......
爲什麼?!
請幫助=)
非常感謝你。 –