在視頻前插入廣告
更新時(shí)間:2006年11月20日 00:00:00 作者:
1.加入背景圖片
<TD align=middle width=329
background="IMAGES/vod_05.jpg"> <OBJECT id=NSPlay
codeBase=http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701
type="application/x-oleobject " height=249
standby="Loading Microsoft Windows Media Player components..."
width=329 classid=clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95
name=NSPlay>
<PARAM NAME="AutoStart" VALUE="-1">
<PARAM NAME="AnimationAtStart" VALUE="0">
<PARAM NAME="DisplayMode" VALUE="4">
<PARAM NAME="Enabled" VALUE="true">
<PARAM NAME="Filename" VALUE="<%=url%>">
<PARAM NAME="ShowControls" VALUE="0">
<PARAM NAME="ShowAudioControls" VALUE="0">
<PARAM NAME="ShowDisplay" VALUE="0">
<PARAM NAME="ShowGotoBar" VALUE="0">
<PARAM NAME="ShowPositionControls" VALUE="0">
<PARAM NAME="ShowStatusBar" VALUE="0">
<PARAM NAME="Volume" VALUE="0">
<PARAM NAME="ShowCaptioning" VALUE="0">
<PARAM NAME="TransparentAtStart" VALUE="1">
<EMBED type="application/x-mplayer2"
pluginspage="http://www.microsoft.com/Windows/Downloads/Contents/Products/MediaPlayer/"
id="NSPlay" Name="NSPlay" DisplaySize="4"
AutoSize="1" ShowControls="0"
ShowDisplay="0" ShowStatusBar="1" width=329 Height=249
src="<%=url%>" autostart="1"> </EMBED>
</OBJECT></TD>
2. 插入圖片廣告
<DIV id="Image1" style="HEIGHT: 93%; POSITION: absolute; TOP: 21pix; Left: 8pix; VISIBILITY: visible; WIDTH: 100%; Z-INDEX: 2;">
<img src="gg/loading.gif" border=0 width=100% height=100% >
</DIV>
<DIV id="MP1" style="HEIGHT: 100%; POSITION: relative; TOP: 0px; VISIBILITY: visible; WIDTH: 100%; Z-INDEX: 1;">
<object id="mPlayer" width="100%" height="100%" type="application/x-oleobject" CLASSID="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95" CodeBase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701" Standby="加載 Microsoft Windows Media Player 組件..." VIEWASTEXT>
<PARAM NAME="FILENAME" value="address.asp?num=<%=s%>&id=<%=id%>">
<PARAM NAME="ShowControls" VALUE="false">
<PARAM NAME="AutoStart" VALUE="true">
<PARAM NAME="Enabled" VALUE="true">
<PARAM NAME="EnableContextMenu" VALUE="true">
<PARAM NAME="ClickToPlay" VALUE="false">
<PARAM NAME="stretchToFit" VALUE="1">
<PARAM NAME="ShowStatusBar" VALUE="True">
<PARAM NAME="AllowChangeDisplaySize" VALUE="true">
<PARAM NAME="Volume" VALUE="0">
<PARAM NAME="SendOpenStateChangeEvents" VALUE="True">
<PARAM NAME="SendPlayStateChangeEvents" VALUE="True">
<PARAM NAME="AnimationAtStart" VALUE="false">
<PARAM NAME="Balance" VALUE="-600">
<PARAM NAME="BaseURL" VALUE="">
<PARAM NAME="CaptioningID" VALUE="">
<PARAM NAME="CursorType" VALUE="32512">
<PARAM NAME="CurrentMarker" VALUE="0">
<PARAM NAME="DefaultFrame" VALUE="">
<PARAM NAME="DisplayMode" VALUE="1">
<PARAM NAME="DisplaySize" VALUE="4">
<PARAM NAME="EnableFullScreenControls" VALUE="0">
<PARAM NAME="InvokeURLs" VALUE="-1">
<PARAM NAME="PreviewMode" VALUE="0">
<PARAM NAME="Rate" VALUE="1">
<PARAM NAME="SAMILang" VALUE="">
<PARAM NAME="SAMIStyle" VALUE="">
<PARAM NAME="SAMIFileName" VALUE="">
<PARAM NAME="ShowDisplay" VALUE="0">
<PARAM NAME="TransparentAtStart" VALUE="1">
<PARAM NAME="VideoBorderWidth" VALUE="0">
<PARAM NAME="VideoBorderColor" VALUE="0">
<PARAM NAME="VideoBorder3D" VALUE="0">
<PARAM NAME="WindowlessVideo" VALUE="0">
</object>
</DIV>
3. 插入FLASH廣告
<DIV id="Image1" style="HEIGHT: 93%; POSITION: absolute; TOP: 21pix; Left: 8pix; VISIBILITY: visible; WIDTH: 100%; Z-INDEX: 2;">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width=100% height=100%>
<param name="movie" value="buff.swf">
<param name="quality" value="high">
<param name="wmode" value="transparent">
<embed src="buff.swf" width=100% height=100% quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent"></embed></object>
</DIV>
<DIV id="MP1" style="HEIGHT: 100%; POSITION: relative; TOP: 0px; VISIBILITY: visible; WIDTH: 100%; Z-INDEX: 1;">
<object id="mPlayer" width="100%" height="100%" type="application/x-oleobject" CLASSID="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95" CodeBase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701" Standby="加載 Microsoft Windows Media Player 組件..." VIEWASTEXT>
<PARAM NAME="FILENAME" value="address.asp?num=<%=s%>&id=<%=id%>">
<PARAM NAME="ShowControls" VALUE="false">
<PARAM NAME="AutoStart" VALUE="true">
<PARAM NAME="Enabled" VALUE="true">
<PARAM NAME="EnableContextMenu" VALUE="true">
<PARAM NAME="ClickToPlay" VALUE="false">
<PARAM NAME="stretchToFit" VALUE="1">
<PARAM NAME="ShowStatusBar" VALUE="True">
<PARAM NAME="AllowChangeDisplaySize" VALUE="true">
<PARAM NAME="Volume" VALUE="0">
<PARAM NAME="SendOpenStateChangeEvents" VALUE="True">
<PARAM NAME="SendPlayStateChangeEvents" VALUE="True">
<PARAM NAME="AnimationAtStart" VALUE="false">
<PARAM NAME="Balance" VALUE="-600">
<PARAM NAME="BaseURL" VALUE="">
<PARAM NAME="CaptioningID" VALUE="">
<PARAM NAME="CursorType" VALUE="32512">
<PARAM NAME="CurrentMarker" VALUE="0">
<PARAM NAME="DefaultFrame" VALUE="">
<PARAM NAME="DisplayMode" VALUE="1">
<PARAM NAME="DisplaySize" VALUE="4">
<PARAM NAME="EnableFullScreenControls" VALUE="0">
<PARAM NAME="InvokeURLs" VALUE="-1">
<PARAM NAME="PreviewMode" VALUE="0">
<PARAM NAME="Rate" VALUE="1">
<PARAM NAME="SAMILang" VALUE="">
<PARAM NAME="SAMIStyle" VALUE="">
<PARAM NAME="SAMIFileName" VALUE="">
<PARAM NAME="ShowDisplay" VALUE="0">
<PARAM NAME="TransparentAtStart" VALUE="1">
<PARAM NAME="VideoBorderWidth" VALUE="0">
<PARAM NAME="VideoBorderColor" VALUE="0">
<PARAM NAME="VideoBorder3D" VALUE="0">
<PARAM NAME="WindowlessVideo" VALUE="0">
</object>
</DIV>
<SCRIPT FOR="mPlayer" EVENT="Buffering(bStart)" LANGUAGE="JavaScript">
if (bStart == 0){
Image1.style.visibility = "hidden";
}
else{
Image1.style.visibility = "visible";
}
</SCRIPT>
<TD align=middle width=329
background="IMAGES/vod_05.jpg"> <OBJECT id=NSPlay
codeBase=http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701
type="application/x-oleobject " height=249
standby="Loading Microsoft Windows Media Player components..."
width=329 classid=clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95
name=NSPlay>
<PARAM NAME="AutoStart" VALUE="-1">
<PARAM NAME="AnimationAtStart" VALUE="0">
<PARAM NAME="DisplayMode" VALUE="4">
<PARAM NAME="Enabled" VALUE="true">
<PARAM NAME="Filename" VALUE="<%=url%>">
<PARAM NAME="ShowControls" VALUE="0">
<PARAM NAME="ShowAudioControls" VALUE="0">
<PARAM NAME="ShowDisplay" VALUE="0">
<PARAM NAME="ShowGotoBar" VALUE="0">
<PARAM NAME="ShowPositionControls" VALUE="0">
<PARAM NAME="ShowStatusBar" VALUE="0">
<PARAM NAME="Volume" VALUE="0">
<PARAM NAME="ShowCaptioning" VALUE="0">
<PARAM NAME="TransparentAtStart" VALUE="1">
<EMBED type="application/x-mplayer2"
pluginspage="http://www.microsoft.com/Windows/Downloads/Contents/Products/MediaPlayer/"
id="NSPlay" Name="NSPlay" DisplaySize="4"
AutoSize="1" ShowControls="0"
ShowDisplay="0" ShowStatusBar="1" width=329 Height=249
src="<%=url%>" autostart="1"> </EMBED>
</OBJECT></TD>
2. 插入圖片廣告
<DIV id="Image1" style="HEIGHT: 93%; POSITION: absolute; TOP: 21pix; Left: 8pix; VISIBILITY: visible; WIDTH: 100%; Z-INDEX: 2;">
<img src="gg/loading.gif" border=0 width=100% height=100% >
</DIV>
<DIV id="MP1" style="HEIGHT: 100%; POSITION: relative; TOP: 0px; VISIBILITY: visible; WIDTH: 100%; Z-INDEX: 1;">
<object id="mPlayer" width="100%" height="100%" type="application/x-oleobject" CLASSID="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95" CodeBase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701" Standby="加載 Microsoft Windows Media Player 組件..." VIEWASTEXT>
<PARAM NAME="FILENAME" value="address.asp?num=<%=s%>&id=<%=id%>">
<PARAM NAME="ShowControls" VALUE="false">
<PARAM NAME="AutoStart" VALUE="true">
<PARAM NAME="Enabled" VALUE="true">
<PARAM NAME="EnableContextMenu" VALUE="true">
<PARAM NAME="ClickToPlay" VALUE="false">
<PARAM NAME="stretchToFit" VALUE="1">
<PARAM NAME="ShowStatusBar" VALUE="True">
<PARAM NAME="AllowChangeDisplaySize" VALUE="true">
<PARAM NAME="Volume" VALUE="0">
<PARAM NAME="SendOpenStateChangeEvents" VALUE="True">
<PARAM NAME="SendPlayStateChangeEvents" VALUE="True">
<PARAM NAME="AnimationAtStart" VALUE="false">
<PARAM NAME="Balance" VALUE="-600">
<PARAM NAME="BaseURL" VALUE="">
<PARAM NAME="CaptioningID" VALUE="">
<PARAM NAME="CursorType" VALUE="32512">
<PARAM NAME="CurrentMarker" VALUE="0">
<PARAM NAME="DefaultFrame" VALUE="">
<PARAM NAME="DisplayMode" VALUE="1">
<PARAM NAME="DisplaySize" VALUE="4">
<PARAM NAME="EnableFullScreenControls" VALUE="0">
<PARAM NAME="InvokeURLs" VALUE="-1">
<PARAM NAME="PreviewMode" VALUE="0">
<PARAM NAME="Rate" VALUE="1">
<PARAM NAME="SAMILang" VALUE="">
<PARAM NAME="SAMIStyle" VALUE="">
<PARAM NAME="SAMIFileName" VALUE="">
<PARAM NAME="ShowDisplay" VALUE="0">
<PARAM NAME="TransparentAtStart" VALUE="1">
<PARAM NAME="VideoBorderWidth" VALUE="0">
<PARAM NAME="VideoBorderColor" VALUE="0">
<PARAM NAME="VideoBorder3D" VALUE="0">
<PARAM NAME="WindowlessVideo" VALUE="0">
</object>
</DIV>
3. 插入FLASH廣告
<DIV id="Image1" style="HEIGHT: 93%; POSITION: absolute; TOP: 21pix; Left: 8pix; VISIBILITY: visible; WIDTH: 100%; Z-INDEX: 2;">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width=100% height=100%>
<param name="movie" value="buff.swf">
<param name="quality" value="high">
<param name="wmode" value="transparent">
<embed src="buff.swf" width=100% height=100% quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent"></embed></object>
</DIV>
<DIV id="MP1" style="HEIGHT: 100%; POSITION: relative; TOP: 0px; VISIBILITY: visible; WIDTH: 100%; Z-INDEX: 1;">
<object id="mPlayer" width="100%" height="100%" type="application/x-oleobject" CLASSID="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95" CodeBase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701" Standby="加載 Microsoft Windows Media Player 組件..." VIEWASTEXT>
<PARAM NAME="FILENAME" value="address.asp?num=<%=s%>&id=<%=id%>">
<PARAM NAME="ShowControls" VALUE="false">
<PARAM NAME="AutoStart" VALUE="true">
<PARAM NAME="Enabled" VALUE="true">
<PARAM NAME="EnableContextMenu" VALUE="true">
<PARAM NAME="ClickToPlay" VALUE="false">
<PARAM NAME="stretchToFit" VALUE="1">
<PARAM NAME="ShowStatusBar" VALUE="True">
<PARAM NAME="AllowChangeDisplaySize" VALUE="true">
<PARAM NAME="Volume" VALUE="0">
<PARAM NAME="SendOpenStateChangeEvents" VALUE="True">
<PARAM NAME="SendPlayStateChangeEvents" VALUE="True">
<PARAM NAME="AnimationAtStart" VALUE="false">
<PARAM NAME="Balance" VALUE="-600">
<PARAM NAME="BaseURL" VALUE="">
<PARAM NAME="CaptioningID" VALUE="">
<PARAM NAME="CursorType" VALUE="32512">
<PARAM NAME="CurrentMarker" VALUE="0">
<PARAM NAME="DefaultFrame" VALUE="">
<PARAM NAME="DisplayMode" VALUE="1">
<PARAM NAME="DisplaySize" VALUE="4">
<PARAM NAME="EnableFullScreenControls" VALUE="0">
<PARAM NAME="InvokeURLs" VALUE="-1">
<PARAM NAME="PreviewMode" VALUE="0">
<PARAM NAME="Rate" VALUE="1">
<PARAM NAME="SAMILang" VALUE="">
<PARAM NAME="SAMIStyle" VALUE="">
<PARAM NAME="SAMIFileName" VALUE="">
<PARAM NAME="ShowDisplay" VALUE="0">
<PARAM NAME="TransparentAtStart" VALUE="1">
<PARAM NAME="VideoBorderWidth" VALUE="0">
<PARAM NAME="VideoBorderColor" VALUE="0">
<PARAM NAME="VideoBorder3D" VALUE="0">
<PARAM NAME="WindowlessVideo" VALUE="0">
</object>
</DIV>
<SCRIPT FOR="mPlayer" EVENT="Buffering(bStart)" LANGUAGE="JavaScript">
if (bStart == 0){
Image1.style.visibility = "hidden";
}
else{
Image1.style.visibility = "visible";
}
</SCRIPT>
相關(guān)文章
微信小程序?qū)崿F(xiàn)數(shù)字滾動(dòng)動(dòng)畫(huà)
這篇文章主要為大家詳細(xì)介紹了微信小程序?qū)崿F(xiàn)數(shù)字滾動(dòng)動(dòng)畫(huà),文中示例代碼介紹的非常詳細(xì),具有一定的參考價(jià)值,感興趣的小伙伴們可以參考一下2022-07-07js實(shí)現(xiàn)繼承的方法及優(yōu)缺點(diǎn)總結(jié)
這篇文章主要給大家介紹了關(guān)于js實(shí)現(xiàn)繼承的方法及優(yōu)缺點(diǎn)的相關(guān)資料,文中通過(guò)示例代碼介紹的非常詳細(xì),對(duì)大家學(xué)習(xí)或者使用JavaScript具有一定的參考學(xué)習(xí)價(jià)值,需要的朋友們下面來(lái)一起學(xué)習(xí)學(xué)習(xí)吧2019-05-05Javascript insertAfter() 實(shí)現(xiàn)函數(shù)代碼
DOM沒(méi)有提供insertAfter()方法,我們可以自己擴(kuò)展下。2011-10-10基于JS實(shí)現(xiàn)仿百度百家主頁(yè)的輪播圖效果
本文給大家分享基于html和js實(shí)現(xiàn)的仿百度百家主頁(yè)的輪播圖效果,代碼簡(jiǎn)單易懂,非常不錯(cuò),具有參考借鑒價(jià)值,需要的朋友參考下2017-03-03小程序中使用css var變量(使js可以動(dòng)態(tài)設(shè)置css樣式屬性)
這篇文章主要介紹了小程序中使用css var變量,使js可以動(dòng)態(tài)設(shè)置css樣式屬性,文中通過(guò)示例代碼介紹的非常詳細(xì),對(duì)大家的學(xué)習(xí)或者工作具有一定的參考學(xué)習(xí)價(jià)值,需要的朋友們下面隨著小編來(lái)一起學(xué)習(xí)學(xué)習(xí)吧2020-03-03