在视频前插入广告

时间:2021-05-25

1.加入背景图片
<TDalign=middlewidth=329
background="IMAGES/vod_05.jpg"><OBJECTid=NSPlay
codeBase=http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701
type="application/x-oleobject"height=249
standby="LoadingMicrosoftWindowsMediaPlayercomponents..."
width=329classid=clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95
name=NSPlay>
<PARAMNAME="AutoStart"VALUE="-1">
<PARAMNAME="AnimationAtStart"VALUE="0">
<PARAMNAME="DisplayMode"VALUE="4">
<PARAMNAME="Enabled"VALUE="true">
<PARAMNAME="Filename"VALUE="<%=url%>">
<PARAMNAME="ShowControls"VALUE="0">
<PARAMNAME="ShowAudioControls"VALUE="0">
<PARAMNAME="ShowDisplay"VALUE="0">
<PARAMNAME="ShowGotoBar"VALUE="0">
<PARAMNAME="ShowPositionControls"VALUE="0">
<PARAMNAME="ShowStatusBar"VALUE="0">
<PARAMNAME="Volume"VALUE="0">
<PARAMNAME="ShowCaptioning"VALUE="0">
<PARAMNAME="TransparentAtStart"VALUE="1">
<EMBEDtype="application/x-mplayer2"
pluginspage="http:///activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701"Standby="加载MicrosoftWindowsMediaPlayer组件..."VIEWASTEXT>
<PARAMNAME="FILENAME"value="address.asp?num=<%=s%>&id=<%=id%>">
<PARAMNAME="ShowControls"VALUE="false">
<PARAMNAME="AutoStart"VALUE="true">
<PARAMNAME="Enabled"VALUE="true">
<PARAMNAME="EnableContextMenu"VALUE="true">
<PARAMNAME="ClickToPlay"VALUE="false">
<PARAMNAME="stretchToFit"VALUE="1">
<PARAMNAME="ShowStatusBar"VALUE="True">
<PARAMNAME="AllowChangeDisplaySize"VALUE="true">
<PARAMNAME="Volume"VALUE="0">
<PARAMNAME="SendOpenStateChangeEvents"VALUE="True">
<PARAMNAME="SendPlayStateChangeEvents"VALUE="True">
<PARAMNAME="AnimationAtStart"VALUE="false">
<PARAMNAME="Balance"VALUE="-600">
<PARAMNAME="BaseURL"VALUE="">
<PARAMNAME="CaptioningID"VALUE="">
<PARAMNAME="CursorType"VALUE="32512">
<PARAMNAME="CurrentMarker"VALUE="0">
<PARAMNAME="DefaultFrame"VALUE="">
<PARAMNAME="DisplayMode"VALUE="1">
<PARAMNAME="DisplaySize"VALUE="4">
<PARAMNAME="EnableFullScreenControls"VALUE="0">
<PARAMNAME="InvokeURLs"VALUE="-1">
<PARAMNAME="PreviewMode"VALUE="0">
<PARAMNAME="Rate"VALUE="1">
<PARAMNAME="SAMILang"VALUE="">
<PARAMNAME="SAMIStyle"VALUE="">
<PARAMNAME="SAMIFileName"VALUE="">
<PARAMNAME="ShowDisplay"VALUE="0">
<PARAMNAME="TransparentAtStart"VALUE="1">
<PARAMNAME="VideoBorderWidth"VALUE="0">
<PARAMNAME="VideoBorderColor"VALUE="0">
<PARAMNAME="VideoBorder3D"VALUE="0">
<PARAMNAME="WindowlessVideo"VALUE="0">
</object>
</DIV>

<SCRIPTFOR="mPlayer"EVENT="Buffering(bStart)"LANGUAGE="JavaScript">
if(bStart==0){
Image1.style.visibility="hidden";
}
else{
Image1.style.visibility="visible";
}
</SCRIPT>

声明:本页内容来源网络,仅供用户参考;我单位不保证亦不表示资料全面及准确无误,也不保证亦不表示这些资料为最新信息,如因任何原因,本网内容或者用户因倚赖本网内容造成任何损失或损害,我单位将不会负任何法律责任。如涉及版权问题,请提交至online#300.cn邮箱联系删除。

相关文章