相思资源网 Design By www.200059.com
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="/UploadFiles/2021-04-02/<%=url%>">        </OBJECT></TD>

2. 插入图片广告
<DIV id="Image1" style="HEIGHT: 93%; POSITION: absolute; TOP: 21pix; Left: 8pix; VISIBILITY:  visible; WIDTH: 100%; Z-INDEX: 2;">
       <img src="/UploadFiles/2021-04-02/loading.gif">      </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="/UploadFiles/2021-04-02/buff.swf">      </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>
标签:
在视频前插入广告

相思资源网 Design By www.200059.com
广告合作:本站广告合作请联系QQ:858582 申请时备注:广告合作(否则不回)
免责声明:本站文章均来自网站采集或用户投稿,网站不提供任何软件下载或自行开发的软件! 如有用户或公司发现本站内容信息存在侵权行为,请邮件告知! 858582#qq.com
相思资源网 Design By www.200059.com

评论“在视频前插入广告”

暂无在视频前插入广告的评论...

P70系列延期,华为新旗舰将在下月发布

3月20日消息,近期博主@数码闲聊站 透露,原定三月份发布的华为新旗舰P70系列延期发布,预计4月份上市。

而博主@定焦数码 爆料,华为的P70系列在定位上已经超过了Mate60,成为了重要的旗舰系列之一。它肩负着重返影像领域顶尖的使命。那么这次P70会带来哪些令人惊艳的创新呢?

根据目前爆料的消息来看,华为P70系列将推出三个版本,其中P70和P70 Pro采用了三角形的摄像头模组设计,而P70 Art则采用了与上一代P60 Art相似的不规则形状设计。这样的外观是否好看见仁见智,但辨识度绝对拉满。