The forum is here for legacy reasons. No new posts will be created. User registration is disabled! If you have any questions, please email us or check https://www.adultscriptpro.com for more details!
You are not logged in.
thank you for mail eri...i do anything like u say.but is not work for me
lets see what i have done
/video_view_player.tpl.php
<?php defined('_VALID') or die('Restricted Access!'); ?>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js"></script>
<p id="container1"><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash Player" /></a></p>
<script type="text/javascript">
var flashvars = {config:'<?php echo BASE_URL; ?>/modules/video/player/config.php?id=<?php echo $this->video['video_id']; ?>' ,plugins:'http://xporn4u.com/modules/video/player/dockableskinnableplugin.swf'};
var params = {allowfullscreen:'true', allowscriptaccess:'always', wmode:'transparent'};
var attributes = {id:'player1', name:'player1'};
swfobject.embedSWF('<?php echo BASE_URL; ?>/modules/video/player/player.swf','container1','650','480','9.0.115','false',flashvars, params, attributes);
</script>
in /modules/video/player/config.php
80-93 lines
<config>
<file><?php echo $video_url; ?></file>
<start>0</start>
<stretching>exactfit</stretching>
<smoothing>true</smoothing>
<autostart>true</autostart>
<plugins>sharing-2,dockableskinnableplugin</plugins>
<dockableskinnableplugin.piclink>http://xporn4u.com/modules/video/player/thumb.php?id=<?php echo $video_id; ?></dockableskinnableplugin.piclink>
<sharing.link>http://alotporn.com/<?php echo $video_id,'/',$video['slug']; ?>/</sharing.link>
<aboutlink>http://xporn4u.com</aboutlink>
<abouttext>Xporn4u.com - Free Porn Tube</abouttext>
<sharing.link>http://xporn4u.com/<?php echo $video_id,'/',$video['slug']; ?>/</sharing.link>
<sharing.code><![CDATA[ your embed code]]></sharing.code>
</config>
in modules/video/player/thumb.php
<?php
define('_VALID', true);
require '/home/thiva77/public_html/libraries/bootstrap.php';
error_reporting(E_ALL);
ini_set('display_errors', 1);
$video_id = (isset($_GET['id'])) ? (int) $_GET['id'] : 0;
if ($video_id === 0) {
die('Invalid video id!');
}
header("content-type:text/xml;charset=utf-8");
ob_start();
echo "<?xml version=\"1.0\" encoding=\"UTF-8\" ?>
<data>";
$db = VF::factory('database');
$current_date = date('Y-m-d');
$index = array();
$sql = "SELECT v.video_id, v.thumb,
GROUP_CONCAT(DISTINCT c.cat_id) AS categories,
GROUP_CONCAT(DISTINCT c.slug) AS slugs,
GROUP_CONCAT(DISTINCT c.name) AS name,
GROUP_CONCAT(DISTINCT t.name) AS tags
FROM #__video AS v
LEFT JOIN #__video_category AS vc ON (vc.video_id = v.video_id)
LEFT JOIN #__video_categories AS c ON (vc.cat_id = c.cat_id)
LEFT JOIN #__video_tags AS t ON (t.video_id = v.video_id)
LEFT JOIN #__video_meta AS vm ON (vm.video_id = v.video_id)
LEFT JOIN #__user AS u ON (u.user_id = v.user_id)
WHERE v.video_id = ".$video_id."";
$videos = $db->get_rows($sql);
foreach ($videos as $video) {
echo '<link>'.BASE_URL.'/media/videos/tmb/'.path($video['video_id']).'/1.jpg</link>',"\n";
echo '<link>'.BASE_URL.'/media/videos/tmb/'.path($video['video_id']).'/2.jpg</link>',"\n";
echo '<link>'.BASE_URL.'/media/videos/tmb/'.path($video['video_id']).'/3.jpg</link>',"\n";
echo '<link>'.BASE_URL.'/media/videos/tmb/'.path($video['video_id']).'/4.jpg</link>',"\n";
echo '<link>'.BASE_URL.'/media/videos/tmb/'.path($video['video_id']).'/5.jpg</link>',"\n";
echo '<link>'.BASE_URL.'/media/videos/tmb/'.path($video['video_id']).'/6.jpg</link>',"\n";
echo '<link>'.BASE_URL.'/media/videos/tmb/'.path($video['video_id']).'/7.jpg</link>',"\n";
echo '<link>'.BASE_URL.'/media/videos/tmb/'.path($video['video_id']).'/8.jpg</link>',"\n";
echo '<link>'.BASE_URL.'/media/videos/tmb/'.path($video['video_id']).'/9.jpg</link>',"\n";
echo '<link>'.BASE_URL.'/media/videos/tmb/'.path($video['video_id']).'/10.jpg</link>',"\n";
echo '<link>'.BASE_URL.'/media/videos/tmb/'.path($video['video_id']).'/11.jpg</link>',"\n";
echo '<link>'.BASE_URL.'/media/videos/tmb/'.path($video['video_id']).'/12.jpg</link>',"\n";
echo '<link>'.BASE_URL.'/media/videos/tmb/'.path($video['video_id']).'/13.jpg</link>',"\n";
echo '<link>'.BASE_URL.'/media/videos/tmb/'.path($video['video_id']).'/14.jpg</link>',"\n";
echo '<link>'.BASE_URL.'/media/videos/tmb/'.path($video['video_id']).'/15.jpg</link>',"\n";
echo '<link>'.BASE_URL.'/media/videos/tmb/'.path($video['video_id']).'/16.jpg</link>',"\n";
echo '<link>'.BASE_URL.'/media/videos/tmb/'.path($video['video_id']).'/17.jpg</link>',"\n";
echo '<link>'.BASE_URL.'/media/videos/tmb/'.path($video['video_id']).'/18.jpg</link>',"\n";
echo '<link>'.BASE_URL.'/media/videos/tmb/'.path($video['video_id']).'/19.jpg</link>',"\n";
echo '<link>'.BASE_URL.'/media/videos/tmb/'.path($video['video_id']).'/20.jpg</link>',"\n"; }
echo "</data>";
VF::close();
?>
i forget something?
Offline
There is an errors with your thumbs links, your images are not there
http://xporn4u.com/modules/video/player … p?id=25877
Offline
ok what about this video
http://xporn4u.com/102766/amateur-cocksuckers/
http://xporn4u.com/modules/video/player … ?id=102766
all thumbs is there
Offline
why is not work for me
Offline
you can try to upload to your server the free edition to see if is work??
Offline
Hey,
Will this feature work with sponsor hosted videos?
Offline
I tried it, but it doesn't work for me as well.
Anyone can confirm if it only work for paid player?
Last edited by Jeff (2012-03-16 11:53:23)
Offline