Results 1 to 10 of 13

Thread: Display Flash Ads before Videos

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #7
    Join Date
    Sep 2007
    Posts
    906

    Default

    Edit templates/view_video.tpl and find out following

    <div>{$view.VSHARE_PLAYER}</div>

    and replace with the following code
    Code:
    <script> 
    window.setTimeout("document.getElementById('ads').style.display = 'none';document.getElementById('self').style.display= '';",6000); 
    </script> 
    <div id="ads"> 
    <div align="right"><font face="Arial" style="font-size: 10pt; font-weight: 700"><a href="#" onclick="document.getElementById('ads').style.display= 'none';document.getElementById('self').style.display = '';"> 
    <font color="#FF0000">Skip Ads»</font></a></font></div> 
    <center> 
    <font color="#FF0000"> 
    <font face="Arial" style="font-size: 9pt; font-weight: 700">Please Wait...<br> 
    </font><img border="0" src="http://img25.imageshack.us/img25/2134/ajaxloader.gif" width="128" height="15"><br> 
    
    Addd your swf file code here
    
    </font> 
    </div> 
    <div id="self" style="display:none";>
    
    <div>{$view.VSHARE_PLAYER}</div>
    
    </div>
    Last edited by vshare2; 07-23-2011 at 10:55 AM.
    vShare Hosting, vShare Installation, Server Setup, Lighttpd streaming, vShare Templates
    [email protected]

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •