Where in the tpl file do you add this? Does it replace something else?
Where in the tpl file do you add this? Does it replace something else?
SPEED UP YOUR VSHARE SITE!
Speed up your vshare site by "offloading" your images and video thumbs!
Just visit http://offload.limbar.com for details.
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]
Hello, I need help with this one I'm using vShare version: 2.8.1
I add the code but how do i put the ads on the video or get the ads to play?
Very nice ty :) i use ero for my ad so i just added a square banner before clips :)
so you are not just limited to swf files you can add almost anything!
IS there a way to put ads at the start AND finish of each video? (or add it to just the end)?
Last edited by browniegirl; 04-19-2012 at 12:46 AM.
SPEED UP YOUR VSHARE SITE!
Speed up your vshare site by "offloading" your images and video thumbs!
Just visit http://offload.limbar.com for details.
GREAT !!! look..
Creación de instalador de aplicación Visual Basic .NET - VB-MUNDO VIDEOS
your code is perfect !! and works fine with Adsense
THANKS A LOT
Can you tell us if is possible show something when the video ends ?
Regards
Bookmarks