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.
There are a lot of porn site that use these feature. It will be great if ASP have it.
Sites that i have seen using this use jwplayer.
Here is an example:
<script type='text/javascript'>
var so = new SWFObject('/jwplayer/player5.swf','mpl','668','533','9','#000000');
so.addVariable('plugins','/jwplayer/dock/dockableskinnableplugin.swf');
so.addVariable('dockableskinnableplugin.piclink', 'http://www.yoursite.com/xml-thumb-list.xml');
</script>
/xml-thumb-list.xml code
<?xml version="1.0" encoding="UTF-8"?>
<data>
<link>http://yoursite.com/media/videos/tmb/000/024/098/1.jpg</link>
<link>http://yoursite.com/media/videos/tmb/000/024/098/2.jpg</link>
.
.
<link>http://yoursite.com/media/videos/tmb/000/024/098/20.jpg</link>
</data>
Last edited by Eri (2011-06-23 07:57:38)
Offline
u mean that thumbs wich show it when you go to time line?
Offline
/xml-thumb-list.xml code
<?xml version="1.0" encoding="UTF-8"?>
<data>
<link>http://yoursite.com/media/videos/tmb/000/024/098/1.jpg</link>
<link>http://yoursite.com/media/videos/tmb/000/024/098/2.jpg</link>
.
.
<link>http://yoursite.com/media/videos/tmb/000/024/098/20.jpg</link>
</data>
here something missing i thing .....im not expert on this but should have time on it.
eg
<?xml version="1.0" encoding="UTF-8"?>
<data>
<link>http://yoursite.com/media/videos/tmb/000/024/098/1.jpg</link>
<time>00:00:00</time>
<link>http://yoursite.com/media/videos/tmb/000/024/098/2.jpg</link>
<time>00:00:01</time>
.
.
<link>http://yoursite.com/media/videos/tmb/000/024/098/20.jpg</link>
<time>00:00:03</time>
</data>
something like that maybe .
but that will be nice to have it
Offline
ooo nice to know......in flowplayer can be added??
Offline
1) what is your site link
2) how u do it ?
Offline
I am using jwplayer. Do not work with flow player. Take a look at AlotPorn.com
made a php file at modules/video/player/thumb.php
<?php
define('_VALID', true);
require '/var/www/vhosts/alotporn.com/httpdocs/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();
?>
and at /modules/video/player/config.php indexed:
<plugins>sharing-2,dockableskinnableplugin</plugins>
<dockableskinnableplugin.piclink>http://......your site..........com/modules/video/player/thumb.php?id=<?php echo $video_id; ?></dockableskinnableplugin.piclink>
Last edited by Eri (2011-07-01 12:39:51)
Offline
nice work man.
but i have to ask 2 things
1) how u change to jwplayer? i want do that me to
2) why show border inside in thumbs?
here is n not work ( http://alotporn.com/21648/hot-orgasm-compilation/ )
Last edited by thiva7 (2011-06-29 11:39:57)
Offline
Offline
nice work man.
but i have to ask 2 things
1) how u change to jwplayer? i want do that me to
2) why show border inside in thumbs?
here is n not work ( http://alotporn.com/21648/hot-orgasm-compilation/ )
You can do that. just download jwplayer, has the same structure as flowplayer just change the config.php
That plugin is made for 160x120 thumbs, my site thumbs are 180x135
Old videos has 7 thumbs, are from an other script
Offline
Hey!
Thanks for sharing, but this query is executed with every view of a video. Maybe it would be very good to cache this. What is your Opinion?
Yes will be great, Adrian we need help ))
Offline
thiva7 wrote:nice work man.
but i have to ask 2 things
1) how u change to jwplayer? i want do that me to
2) why show border inside in thumbs?
here is n not work ( http://alotporn.com/21648/hot-orgasm-compilation/ )
You can do that. just download jwplayer, has the same structure as flowplayer just change the config.php
That plugin is made for 160x120 thumbs, my site thumbs are 180x135
Old videos has 7 thumbs, are from an other script
i cand find what i should change in config.php
when u have time explane more what we should do !!
thank you
Last edited by thiva7 (2011-06-29 21:59:32)
Offline
Offline
when u have time explane more what we should do !!
thank you
I will make a new post, change from flowplayer to jwplayer
made it
http://forum.adultscriptpro.com/viewtopic.php?id=562
Last edited by Eri (2011-06-29 23:34:52)
Offline
Offline
Thank you very much ERI.
As far as i see, JW has a lot more features. I like the SHARE feature in your player
Yes also is faster and les bandwith to spend because use google CDN for js files.
Offline
thiva7 wrote:2) why show border inside in thumbs?
Fixed ,thanks
not yet but today i will change it
thiva7 wrote:when u have time explane more what we should do !!
thank you
I will make a new post, change from flowplayer to jwplayer
thank you for fast reply and help
Offline
<plugins>sharing-2,dockableskinnableplugin</plugins>
<dockableskinnableplugin.piclink>http://alotporn.com/modules/video/player/thumb.php?id=<?php echo $video_id; ?></dockableskinnableplugin.piclink>
this code in wich line goes??i try every line and is not work for me
Last edited by thiva7 (2011-07-01 11:08:54)
Offline
at <dockableskinnableplugin.piclink> add your site not mine
man i just get your code from your post...offcorse i add my site
<plugins>sharing-2,dockableskinnableplugin</plugins>
<dockableskinnableplugin.piclink>http://xporn4u.com/modules/video/player/thumb.php?id=<?php echo $video_id; ?></dockableskinnableplugin.piclink>
where goes this code ?tell me line
Last edited by thiva7 (2011-07-01 12:53:49)
Offline
man i told you.....i add my details.
in modules/video/player/thumb.php i change from
require '/var/www/vhosts/alotporn.com/httpdocs/libraries/bootstrap.php';
to
my details
and in
/modules/video/player/config.php
the same ( i have add my details )
im noob but not so much
i have done with my details.
so in wich line goes this code becuse when i add this :
<plugins>sharing-2,dockableskinnableplugin</plugins>
<dockableskinnableplugin.piclink>http://xporn4u.com/modules/video/player/thumb.php?id=<?php echo $video_id; ?></dockableskinnableplugin.piclink>
is not load video
Offline