Page 3 of 10 FirstFirst 12345 ... LastLast
Results 21 to 30 of 95

Thread: Using Agriya Player with vShare

  1. #21
    Join Date
    Jul 2008
    Posts
    7

    Default Re: Using Agriya Player with vShare

    Uhhh... Guys please Help for this... any sugestion...

  2. #22
    Join Date
    Jul 2008
    Posts
    7

    Default Re: Using Agriya Player with vShare

    Hey... Guys or Admin, what about this SUPPORT FORUM??? I' pay for my vshare script and I'need Help... Thanks.-

  3. #23
    Join Date
    Aug 2007
    Posts
    2

    Default Re: Using Agriya Player with vShare

    Hey i can not get it to work either, Got the play to display but a continueous loading page is displayed & i have had to revert back to the standard player. Most dissapointed and it seems alot of people are having the same problem of the video not playing. This needs to be looked at!! Thanks

  4. #24
    Join Date
    Jul 2008
    Posts
    7

    Default Re: Using Agriya Player with vShare

    Hello. If you need install Agriya FLV Player in Vshare, please send me a message for instructions.

    Regards.

  5. #25
    Join Date
    Jan 2008
    Posts
    216

    Default Re: Using Agriya Player with vShare

    In fact I bought Agryia Player cause of the post of Admin and only after I discovered it were not working on multi-server configuration!
    Bad trick! Admin, now we pretend an explanation of the story or at least apologize for the mistake if you can't fix the problem!

  6. #26
    Join Date
    Jan 2008
    Posts
    216

    Default Re: Using Agriya Player with vShare

    No answer...

  7. #27
    Join Date
    Sep 2008
    Posts
    1

    Default Re: Using Agriya Player with vShare

    has anyone gotten it to work

  8. #28
    Join Date
    Sep 2008
    Posts
    1,019

    Default Re: Using Agriya Player with vShare

    The multi-server issues that you guys are reporting is going to be due to the fat that the player_config.php file is written to only support single-server setup's and not multi-server setups. I have modified the player_config.php file so that it should work.

    Also, if anyone would like any help installing this player with vShare, please let me know. I do charge a small fee for this, however. PM me if you would like more details.

    Here is the modified player_config.php file which supports multi-server environments:
    Code:
    <?php
    
    include('../include/config.php');
    include('../include/function.php');
    
    $id = isset($_GET['id']) ? $_GET['id'] : '';
    
    $adv_flv_name = $config['baseurl'] . '/advt_flv/start.flv';
    $postroll_flv_url = $config['baseurl'] . '/advt_flv/end.flv';
    
    
    $sql = "SELECT * FROM `video` WHERE vid=$id";
    $result = mysql_query($sql) or mysql_die($sql);
    
    if (mysql_num_rows($result)>0) {
    	$video_info = mysql_fetch_assoc($result);
    	if($video_info['server_id'] == 0){
    		$flv_url = $config['baseurl'] ."/flvideo/" .$video_info['flvdoname'];
    	}
    	else{
    		$server_id = $video_info['server_id'];
    		$sql = "select * from servers where id=$server_id";
    		$result = mysql_query($sql) or mysql_die($sql);
    		$server_info = mysql_fetch_assoc($result);
    		$url = $server_info['url'];
    		$flv_url = $url ."/" .$video_info['flvdoname'];
    	}
    	
    }
    
    header("content-type:text/xml;charset=utf-8");
    header("Cache-Control: no-store, no-cache, must-revalidate");
    header("Cache-Control: post-check=0, pre-check=0", false);
    
    $baseurl = $config['baseurl'];
    
    echo "<CONFIG>
    	<SETTINGS>
    		<PLAYER_SETTINGS Name=\"SelectedSkin\" Value=\"$baseurl/player2/skin/skin.swf\"/>
    		<PLAYER_SETTINGS Name=\"SelectedLoader\" Value=\"$baseurl/player2/skin/loading.swf\"/>
    		<PLAYER_SETTINGS Name=\"Protocol\" Type=\"http\" Value=\"\" />
    		<PLAYER_SETTINGS Name=\"FLVPath\" Value=\"$flv_url\" ViewCountFile=\"\" />
    		<PLAYER_SETTINGS Name=\"FLVList\" HasVideoList=\"no\" FlvListPath=\"$baseurl/player2/videolists.xml\" Looping=\"yes\" RefreshList=\"yes\" />
    		<PLAYER_SETTINGS Name=\"PlayList\" Value=\"$baseurl/player2/playlist_xml.php\" MaximumLists=\"1\"/>
    		<PLAYER_SETTINGS Name=\"Themes\" Value=\"$baseurl/player2/themes.xml\"/>
    		<PLAYER_SETTINGS Name=\"LockAllControls\" Value=\"false\"/>
    		<PLAYER_SETTINGS Name=\"ShowShareButton\" Value=\"true\"/>
    		<PLAYER_SETTINGS Name=\"ShowReplyButton\" Value=\"true\"/>
    		<PLAYER_SETTINGS Name=\"InitVolume\" Value=\"20\"/>
    		<PLAYER_SETTINGS Name=\"AutoPlay\" Value=\"true\"/>
    		<PLAYER_SETTINGS Name=\"FirstFrameAs\" Value=\"video\" FrameAt=\"0\" Url=\"images/vImage.jpg\" Align=\"stretch\"/>
    		<PLAYER_SETTINGS Name=\"FirstVidSize\" Value=\"max\" KeepAspectRatio=\"true\"/>
    		<PLAYER_SETTINGS Name=\"FullScreenControls\" Value=\"true\"/>
    		<PLAYER_SETTINGS Name=\"ShowMiniShareButton\" Value=\"false\"/>
    		<PLAYER_SETTINGS Name=\"ShowMiniLogo\" Value=\"false\" Url=\"images/minilogo.swf\"/>
    		<PLAYER_SETTINGS Name=\"TooltipEnabled\" Value=\"true\"/>
    		<PLAYER_SETTINGS Name=\"ShareVidzLink\" Value=\"$baseurl/recommend_friends.php?vid=$id\" args=\"vt=vtitle,muid=vuid,id=12,etc\"/>
    		
    		<PLAYER_SETTINGS Name=\"FullScreenLink\" Function=\"\" args=\"sample1.html\"/>
    		
    		<PLAYER_SETTINGS Name=\"BufferTime\" Value=\"3\"/>
    		<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\"/>
    		<PLAYER_SETTINGS Name=\"External\" Value=\"no\" Url=\"http://agriya.com\"  Target=\"_blank\" />
    		<PLAYER_SETTINGS Name=\"TopUrl\" Url=\"$adv_flv_name\" TargetUrl=\"$baseurl\" TargetWindow=\"_blank\" Duration=\"6\" Value=\"true\" Type=\"flv\" ImpressionUrl=\"yourphp?sgds\" ClickCountUrl=\"yourphp?sgds\"/>
    		<PLAYER_SETTINGS Name=\"TailUrl\" Url=\"$postroll_flv_url \" TargetUrl=\"$baseurl\" TargetWindow=\"_blank\" Duration=\"6\" Value=\"true\" Type=\"flv\"  ImpressionUrl=\"yourphp?sgds\" ClickCountUrl=\"yourphp?sgds\"/>
    	</SETTINGS>
    	<LABELS>
    		<TEXT Name=\"Header\" Value=\"Click here to join with these cool guys... and ger more fun here.........\" Enable=\"false\" ShowAlways=\"false\" Url=\"http://www.agriya.com\" TargetWindow=\"\" HeaderScroll=\"true\" ScrollSpeed=\"10\"/>
    		<TEXT Name=\"Share\" Value=\"Share\"/>
    		<TEXT Name=\"Reply\" Value=\"Replay\"/>
    		<TEXT Name=\"Buffer\" Value=\"Buffering...\"/>
    		<TEXT Name=\"Loading\" Value=\"Loading.....\"/>
    		<TEXT Name=\"NextText\" Value=\">>Next\" Enable=\"false\"/>
    		<TEXT Name=\"ListAlign\" Value=\"RTL\" Enable=\"false\"/>
    	</LABELS>
    	<TOOLTIP>
    		<TOOL Name=\"PlayButton\" Value=\"Play\"/>
    		<TOOL Name=\"PauseButton\" Value=\"Pause\"/>
    		<TOOL Name=\"VolumeButton\" Value=\"Volume\"/>
    		<TOOL Name=\"ShareVidz\" Value=\"Share\"/>
    		<TOOL Name=\"ReplyVideo\" Value=\"Replay\"/>
    		<TOOL Name=\"RewindButton\" Value=\"Rewind\"/>
    		<TOOL Name=\"MuteButton\" Value=\"Mute\"/>
    		<TOOL Name=\"FullScreen\" Value=\"Full Screen\"/>
    		<TOOL Name=\"UnMuteButton\" Value=\"Unmute\"/>
    		<TOOL Name=\"VideoSize\" Value=\"Video Size\"/>
    	</TOOLTIP>
    	<MSG>
    		<ERROR Name=\"SelectedSkin\" Value=\" is not available...swf \"/>
    		<ERROR Name=\"PlayList\" Value=\"The playlist xml not found ! \"/>
    		<ERROR Name=\"FlvPath\" Value=\"The FLV Paths is not valid or missing !\"/>
    		<ERROR Name=\"FlvPathFile\" Value=\"File not Found \"/>
    	</MSG>
    </CONFIG>";
    ?>
    vShare Solutions
    Custom vShare Modules and Services

    Now, your visitors can watch videos on your site using their mobile or tablet device with the Mobility Mod for vShare 2.8!

  9. #29
    Join Date
    Jul 2008
    Posts
    22

    Default Re: Using Agriya Player with vShare

    ok my vids play fine but at end when i get the thumbs in player i click on it but it only replays my vid how do i point this so it goes to the thumb i click on ?
    http://xtasydesires2.com/view/165/duck-revenge/someurl

    its a adult site but not all for porn

  10. #30
    Join Date
    Sep 2008
    Posts
    1,019

    Default Re: Using Agriya Player with vShare

    I'm not 100% sure about that, but I'm willing to bet that it probably has something to do with the fact that I just noticed that the other PHP file (playlist_xml.php) has an error in the code. When executed, the output from the file is supposed to generate XML that the player then uses. However, one of the commands has an "echo" statement in front of a SQL query which tells PHP to print out (or output) one of the database SQL commands. Thus, you get SQL text before the XML, which I'm pretty certain causes the player to have some issues. Here is a fixed playlist_xml.php file:
    Code:
    <?php
    
    include('../include/config.php');
    include('../include/function.php');
    
    header("content-type:text/xml;charset=utf-8");
    header("Cache-Control: no-store, no-cache, must-revalidate");
    header("Cache-Control: post-check=0, pre-check=0", false);
    
    
    $id = isset($_GET['id']) ? $_GET['id'] : '';
    
    $sql = "SELECT * FROM `video` WHERE vid=$id";
    $result = mysql_query($sql) or mysql_die($sql);
    
    if (mysql_num_rows($result)>0) {
    	$video_info = mysql_fetch_assoc($result);
    }
    
    
    
    $rtags = group_tags($sql);
    $rtags[0] = addslashes($rtags[0]);
    
    $chnl = "";
    
    if (count($rtags) > 1) {
    	for($i = 1;$i < count($rtags);$i++) {
    		$tag = $rtags[$i];
    		$tag = addslashes($tag);
    		$chnl .= " OR description LIKE '%$tag%' OR keyword LIKE '%$tag%'";
    	}
    }
    
    $sql = "SELECT * FROM video WHERE
    		type='public' AND
    		active=1 AND
    		approve=1 AND
    		(keyword like '%$rtags[0]%' $chnl)
    		ORDER BY VID ASC";
    
    $result = mysql_query($sql) or mysql_die($sql);
    
    echo "<FLV_PLAYLIST Refresh=\"40\" Sequence=\"order\">
    	<DESCRITPTION Name=\"Name\" Value=\"\" />
    	<DESCRITPTION Name=\"Rating\" Value=\"Rating: \" />
    	<DESCRITPTION Name=\"Comments\" Value=\"Comments: \" />
    	<DESCRITPTION Name=\"Views\" Value=\"Views: \" />";
    
    	while($video_info = mysql_fetch_assoc($result)) {
    		if ($video_info['VID'] !=$id) {
    			if ($video_info['video_length'] != '') {
    				$duration_hms = "(" .sec2hms($video_info['duration']) .")";
    			}
    			$video_name = str_replace('"','',$video_info['title']);
    			$thumb = $config['baseurl'] .'/thumb/' . $video_info['VID'] .'.jpg';
    			$video_url = $config['baseurl'] ."/view/" .$video_info['VID'] ."/" .$video_info['seo_name'] ."/";
    			echo "<VIDEO Name=\"$video_name $duration_hms\"   Rating=\"$video_info[rate]\" Comments=\"$video_info[com_num]\" Views=\"$video_info[viewnumber]\"  Thumbnails=\"$thumb\" url=\"$video_url\" target=\"_self\"/>";
    		}
    	}
    
    echo "</FLV_PLAYLIST>";
    ?>
    Edit Changed the PHP code to have a multi-server compatible URL in it.
    Edit Changed the PHP code to link to video as a page versus video FLV.
    Edit Changed the PHP code to deal with the fact that names are being reused.
    Edit Changed the PHP code to fix an issue in which titles that have quotes in them cause the related video thumbnails to not show completely. Also fixed an error in the duration code so that it shows the duration and not "()".
    vShare Solutions
    Custom vShare Modules and Services

    Now, your visitors can watch videos on your site using their mobile or tablet device with the Mobility Mod for vShare 2.8!

Page 3 of 10 FirstFirst 12345 ... LastLast

Similar Threads

  1. Using Agriya HD Player in vShare
    By ataimoor in forum Template Modifications
    Replies: 1
    Last Post: 12-31-2008, 03:42 PM
  2. Using the Agriya Player
    By davidmsfv in forum Installation Support
    Replies: 4
    Last Post: 08-08-2008, 12:10 AM
  3. Agriya Player HELP
    By davidmsfv in forum Template Modifications
    Replies: 0
    Last Post: 05-09-2008, 07:50 AM
  4. Agriya FLV Player
    By galnet in forum Template Modifications
    Replies: 25
    Last Post: 08-19-2007, 01:48 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •