首页  >  文章  >  web前端  >  在视频前插入广告_javascript技巧

在视频前插入广告_javascript技巧

WBOY
WBOY原创
2016-05-16 19:24:152506浏览

1.加入背景图片
     

                background="IMAGES/vod_05.jpg">                   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>
          
          
          
          
          ">
          
          
          
          
          
          
          
          
          
                            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=""   autostart="1">  
        


2. 插入图片广告

       在视频前插入广告_javascript技巧
      


        
 
          
            &id=">
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
          

        


3. 插入FLASH广告


       
                
                
                
                

      


        
 
          
            &id=">
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
          

        


 <script> <BR> if (bStart == 0){ <BR> Image1.style.visibility = "hidden"; <BR> } <BR> else{ <BR> Image1.style.visibility = "visible"; <BR> } <BR> </script>
声明:
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn