Uhhh... Guys please Help for this... any sugestion...
Printable View
Uhhh... Guys please Help for this... any sugestion...
Hey... Guys or Admin, what about this SUPPORT FORUM??? I' pay for my vshare script and I'need Help... Thanks.-
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
Hello. If you need install Agriya FLV Player in Vshare, please send me a message for instructions.
Regards.
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!
No answer...
has anyone gotten it to work
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>";
?>
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
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:
Edit Changed the PHP code to have a multi-server compatible URL in it.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 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 "()".