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
Post Reply 


Messages In This Thread
LOGO in players - admin - 17-01-2013 04:22 PM
RE: LOGO in players - Dreamer26 - 24-01-2013, 06:02 PM
RE: LOGO in players - admin - 24-01-2013, 06:08 PM
RE: LOGO in players - DougieFresh1 - 09-03-2013, 08:27 PM
RE: LOGO in players - admin - 09-03-2013, 09:35 PM
RE: LOGO in players - DougieFresh1 - 11-03-2013, 11:26 PM
RE: LOGO in players - dj.of_pay - 12-03-2013, 10:46 PM
RE: LOGO in players - admin - 12-03-2013, 11:07 PM

Forum Jump: