Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
LOGO in players
17-01-2013, 04:22 PM (This post was last modified: 17-01-2013 04:38 PM by admin.)
Post: #1
LOGO in players
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
Find all posts by this user
Quote this message in a reply
24-01-2013, 06:02 PM
Post: #2
RE: LOGO in players
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
Find all posts by this user
Quote this message in a reply
24-01-2013, 06:08 PM
Post: #3
RE: LOGO in players
no need to redirect your main page there is a bug thanks for your report i ll look at that
Find all posts by this user
Quote this message in a reply
09-03-2013, 08:27 PM
Post: #4
RE: LOGO in players
how do you remove the logo and link?
Visit this user's website Find all posts by this user
Quote this message in a reply
09-03-2013, 09:35 PM
Post: #5
RE: LOGO in players
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";
Find all posts by this user
Quote this message in a reply
11-03-2013, 11:26 PM
Post: #6
RE: LOGO in players
(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!
Visit this user's website Find all posts by this user
Quote this message in a reply
12-03-2013, 10:46 PM
Post: #7
RE: LOGO in players
(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 ?

Amateur Porn - Real Homemade Sex
Find all posts by this user
Quote this message in a reply
12-03-2013, 11:07 PM
Post: #8
RE: LOGO in players
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
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump: