Using Agriya Player with vShare
To use Agriya Player with vShare 2.7, first you need to buy Agriya Player.
Backup your existing include/player.inc
Download
http://buyscripts.in/vshare/2.7_vsha...iya_player.zip
Unzip the files and upload to your server.
Upload Agriya Player to "player2" folder.
Agriya Player watermark should be JPG or SWF file.
You can change it in player2/player_config.php file
Quote:
<PLAYER_SETTINGS Name=\"Logo\" Value=\"true\" Url=\"$baseurl/templates/images/watermark.jpg\" Transparency=\"50\" RollOverTransparency=\"100\" LogoPosition=\"RT\" hspace=\"10\" vspace=\"10\" TargetUrl=\"$baseurl\" Target=\"_blank\" InnerScripts=\"yes\"/>
For showing FLV files (preroll and postroll) at start and end of the actual video, create a folder "advt_flv" and upload two FLV files with names "start.flv" and "end.flv"
You can change the name or disable advertisements by editing the file player2/player_config.php
Find
Quote:
$adv_flv_name = $config['baseurl'] . '/advt_flv/start.flv';
$postroll_flv_url = $config['baseurl'] . '/advt_flv/end.flv';
Change to your actual FLV or SWF advertisements
To enable, find
Quote:
$show_post_roll = 'fase';
$show_pre_roll = 'fase';
Replace with
Quote:
$show_post_roll = 'true';
$show_pre_roll = 'true';
Re: Using Agriya Player with vShare
Added this to mysite, but video file will not play, thumbnail image loads in player, but no videos will play. Can you help or give idea on what might be wrong?
Thanks,
Re: Using Agriya Player with vShare
Re: Using Agriya Player with vShare
Hey l1some,
I have the agriya player as well, and I haven't been able to get the thumb image to come up as the first frame on the player. Can you let me know how you did that? Also, what's your site url so I can check it out?
Re: Using Agriya Player with vShare
<PLAYER_SETTINGS Name=\"FirstFrameAs\" Value=\"video\" FrameAt=\"0\" Url=\"images/vImage.jpg\" Align=\"stretch\"/>
check this in playlist.xml
$thumb = $config['baseurl'] .'/thumb/' . $video_info['VID'] .'.jpg';
Re: Using Agriya Player with vShare
Hmm...I have the same code in my config.xml file, but that gives me the first frame of the video as my thumb, which is kind of annoying because half the time it's black. I was hoping that you had figured out how to have one of the created thumbnail images as the first frame, but I guess not.
Re: Using Agriya Player with vShare
the first thumb does show.
Re: Using Agriya Player with vShare
Strange. I wonder why mine isn't working then? What's your site url, so I can check out your player?
Re: Using Agriya Player with vShare
Admin are you sure it works also in multi server?
Re: Using Agriya Player with vShare
Hey Guys....For those of you they may be having a problem with the player not showing, check the "includes/player.inc file. The one I downloaded from here has a typo in the player width statement.
Find: "{$config[player_wdith]}" and correct the spelling of "wdith" to "width"!
I couldn't get the player to show up at all in IE7 and in Firefox it was squished. Correcting the typo did the trick.
Regards, Danchis