Free Adult Tube-Video Script Forum
LOGO in players - Printable Version

+- Free Adult Tube-Video Script Forum (http://freeadultscript.com/forum)
+-- Forum: My Category (/forumdisplay.php?fid=1)
+--- Forum: General (/forumdisplay.php?fid=2)
+--- Thread: LOGO in players (/showthread.php?tid=3027)



LOGO in players - admin - 17-01-2013 04:22 PM

i put freeadultscript chicken maskot in videos.
for v3.5 video settings section is ready to use for just only video dimentions and player logo.

you can chage chicken logo with your own logo for free


older versions need to edit some code in include/functions.php

find function video($id) in functions.php

and find below code:

PHP Code:
$data_v=array(true,urldecode($title),'<script type="text/javascript" src="'.$kaynak_url.'video/video.php?id='.$id.'&kaynak='.$kaynak.'"></script><br>'.$taglari,urldecode($description),$commentti);
   
$data_2=urldecode($title).'###<script type="text/javascript" src="'.$kaynak_url.'video/video.php?id='.$id.'&kaynak='.$kaynak.'"></script><br>'.$taglari.'###'.urldecode($description).'###'.$commentti

chage with below code:

edit $small_logo_url="" like $small_logo_url="http://yourdomain.com/mylogo.jpg"
make blank player_h and player_w for default dimentions

PHP Code:
$small_logo_url=""//optional
$player_w=""//optional
$player_h=""//optional

global $website,$root_url;

$resim_linki=$website.$root_url."img/thumb/".$id."_0.jpg";

$data_v=array(true,urldecode($title),'<script type="text/javascript" src="'.$kaynak_url.'video/video.php?id='.$id.'&kaynak='.$kaynak.'&logo='.base64_encode($small_logo_url).'&image='.base64_encode($resim_linki).'&baseurl='.base64_encode($website.$root_url).'&w='.$player_w.'&h='.$player_h.'"></script><br>'.$taglari,urldecode($description),$commentti);

   
$data_2=urldecode($title).'###<script type="text/javascript" src="'.$kaynak_url.'video/video.php?id='.$id.'&kaynak='.$kaynak.'&logo='.base64_encode($small_logo_url).'&image='.base64_encode($resim_linki).'&baseurl='.base64_encode($website.$root_url).'&w='.$player_w.'&h='.$player_h.'"></script><br>'.$taglari.'###'.urldecode($description).'###'.$commentti



RE: LOGO in players - Dreamer26 - 24-01-2013 06:02 PM

So, as I understand not possible to add own destination url, we can only change logo picture and size?
Btw, very nice and attractive logo, grat!Smile


RE: LOGO in players - admin - 24-01-2013 06:08 PM

no need to redirect your main page there is a bug thanks for your report i ll look at that


RE: LOGO in players - DougieFresh1 - 09-03-2013 08:27 PM

how do you remove the logo and link?


RE: LOGO in players - admin - 09-03-2013 09:35 PM

for older versions you need to fix functions.php that you see the code above
if you want no logo and link you need to do

$small_logo_url="xxx";


RE: LOGO in players - DougieFresh1 - 11-03-2013 11:26 PM

(09-03-2013 09:35 PM)admin Wrote:  for older versions you need to fix functions.php that you see the code above
if you want no logo and link you need to do

$small_logo_url="xxx";

thanks for quick reply!


RE: LOGO in players - dj.of_pay - 12-03-2013 10:46 PM

(09-03-2013 09:35 PM)admin Wrote:  for older versions you need to fix functions.php that you see the code above
if you want no logo and link you need to do

$small_logo_url="xxx";

for v3.5 please ?


RE: LOGO in players - admin - 12-03-2013 11:07 PM

for v3.5
you just go admin page and click video player management link

then if you have logo wirte your logo long url like

http://mydomian.com/mylogo.jpg

if you do not want any logo just write

xxx