Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
464 views
in Technique[技术] by (71.8m points)

javascript - Windows Media Player on top other DIV

I have an embed window media player which is always on top of other DIV tags. I used wmode = opaque; WindowlessVideo = -1 but it does not help. Does anyone know how to make it appear below a certain element of the page.

<object type="application/x-oleobject"
classid="CLSID:6BF52A52-394A-11D3-B153-00C04F79FAA6" codebase=
"http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701"
width="345" height="45"><param name="URL" value=
"http://nhacso.net/Music/nghe_song.aspx?id=100004995" />
<param name="EnableContextMenu" value="0" />
<param name="uiMode" value="full" />
<param name="stretchToFit" value="True" />
<param name="AnimationAtStart" value="false" />
<param name="playcount" value="10" />
<param name="Volume" value="100" />
<param name="autostart" value="0" />
<param name="wmode" value="opaque" />
<param name="WindowlessVideo" value="-1" />
<embed src="http://nhacso.net/Music/nghe_song.aspx?id=100004995"
type="application/x-mplayer2" width="345" height="45" align=
"center" border="0" autostart="0" transparentatstart="1"
animationatstart="1" showcontrols="true" showaudiocontrols="1"
showpositioncontrols="0" enablecontextmenu="0" autosize="0"
showstatusbar="1" displaysize="false" playcount="10" wmode="opaque"
windowlessvideo="-1" /></object>

Thanks

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

I had the same issue and resolved it thusly:

<param name="windowlessVideo" value="true">

Using "-1" for a boolean value may or may not work as expected.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...