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.
You know I don't have a problem with media libs, was concerned about others.
So what do you use? vhook or just vf overlay, is logo scaled according to video size?
WHatever if your solution works well - it's worth the money. Price is more than fair.
I believe this requires some special ffmpeg libs or hooks.
What if someone's media libs is not compiled with it or is some old version?
The simple way is to add few lines to check for googlebot and then change 'friends' value if Googlebot detected.
It can be done in file 'modules/video/components/view.php" above the line: $this->tpl->friends = $friends;
Just add this code:
$ip = $_SERVER['REMOTE_ADDR'];
$name = gethostbyaddr($ip);
if(preg_match("/Googlebot/i",$name)) { $friends=true; }
Now you can check in Google Webmaster Tools if robot reads video page properly.
my site reached a milestone
3000 users in community.
Congratulations.
I have over 36.000 registered users and 2000 about premium users ($10.00 for premium),
but this is non-adult site, and it's over 4 years old.
It's not so much, but always better than nothing
Don't forget that you do not have control over Ad content, and this is surely what Symtab wanted to say.
Many Ad networks don't care much about validity, or use completely custom tags, not known for any HTML standards.
That <h5> tag inside an <a> is supported in HTML5..
I was reading the net and found it...a block inside of an inline is considered valid in html5
Not W3C valid. I don't care about other validators.
There is no other issue with video thumb links, the only one is "<h5>" tag.
Block-level elements such as "<p>" or "<h5>", etc. are not valid inside an inline element such as "<a>"
Note that validator for html5 is only experimental, and it doesn't check lot of html rules.
Whatever, this is not good to put both: img and text together within <a> element.
But it's also not critical thing, and I suggest not to concern much about validity until these are not serious html structure bugs. Even most powerful sites are not vallid, including Google, Yahoo, Youtube, Dailymotion and pornhub as well..
Regarding valid HTML you are right about special chars like "&", however there can be more chars like that.
When talking of "h5" tag - indeed it's causing valdation error, and it's because such tag shouldn't be nested within link <a> object.
Also such link looks more like "black" seo... So I think it's good idea to move video title outside of link. That's what most of sites do.
Yutube uses double link, separate for thumb and title, but that's youtube - nobody's going to hurt it
I don't understand your concern about DOC type for HTML5.
ASP script automatically detects device, and if it's some mobile/tablet automatically loads mobile template with correct DOC type.
Of course it's possible to remove mobile template automatic load and use standard template, however flow or jw players are not prepared for HTML5 playback then. Other case is that ASP mobile template is pretty cool, so is there really such need?
It would be fine to load standard template on tablet devices that have enough big screen. This indeed requires to change DOC type, based on device detected, but other case is player and assigned file to play. It won't be valid for HTML5 playback.
Finally this is huge problem to detect device like tablet. For a long time devs used to detect screen size and if it's large one (over 1000px wide) - assign tablet detected. But nowadays smaller phone devices has same large screens, so the only way to detect tablet is to search for "mobile" within userAgent string. But this is also not 100% working solution.
I'm afraid that iframe player, embedded on some other site won't play as HTML5 when device is other than desktop PC.
ASP script assigns FLV or HD/mp4 video to play - and these are not valid HTML5 formats. Players like flow or JW can have one instance of video only (or 2 if HD plugin used). Surely not FLV and mobile MP4 together.
When writing my Nuevoplayer I was thinking about such scenario and that's why I added multiple video sources possible support: flv or mp4 for standard playback, x264/mp4, ogg and webm for html5. Then player autmatically detects HTML5 or Flash support and assigns valid file to play.
Finally iframe player doesn't autosize automatically. I mean, if you change iframe size - player won't fit it, stay same default size.
All of this is not huge pain for adult script, as few people only decides to allow embedding videos, and even if, it will play fine if only device supports flash. However as a long time players programmer I can see such things clearly, and I used to consider every possible scenario and trying to have a solution for it (if only possible). Luckilly I have few devices at home like iPhone,Ipad,Android, so it's easier for me.
You added support for video downloads when using multi-server and the video is on a separate server?
Yeap, exactly.
In newer version of the ASP, script in video helper's server.php file you have a function:
public static function download($server, $file, $dst)
It downloads video from other server back to default server: if (ftp_get($conn_id, $dst, $file, FTP_BINARY))
Originally this is used to regenrate thumbs in the ASP script. So I also used it to generate slides for my Progressbar thumbs plugin.
Maybe it's not perfect solution, but works.
But there is no such function in older ASP script version I worked on, so I just added it. It's OK, no problem with it.
- $dst is destination path on current server where downloaded file is to be stored,
- $file is extension+name of the file to download
- $server['ftp_root'] is location connected through ftp.
So when ftp root is: "public_html/media/videos", example $file is "/flv/xxx.flv"
And this doesn't download file. But downloads it when $file is "flv/xxx.flv"
That's why before ftp_get function is called I used: ltrim($file,"/");
ALso in file "admin/modules/video/components/manage.php" in newer ASP version you have a function to regenrate thumbs:
private function generate_thumbs($video_id)
In case when video hosted on other server, it is downloaded first and stored on default server:
if (VHelper_video_server::download($server, '/'.$ext.'/'.$video_id.'.'.$ext, $src)) {
$downloaded = TRUE;
}
SO I think that in such case, once thumbs generated vdeo should be removed, eg.
if ($thumbs !== 0) {
if($downloaded && $server_id != '0') unlink($src);
Today I was installing my progresbar thumbs plugin for Nuevoplayer on some older ASP script with multi-server use.
I found that it doesn't support standard thumbs regenerate function, next found that "server" helper's function doesn't support video "download" option required to regenerate thumbs.
I understand it, and it was not difficult to add such options to older script version.
But then I found 2 issues.
1.
When helper's download funtion run I found that it can't download video if source is like "/flv/xxx.flv"
But it works when source is like "flv/xxx.flv"
I'm not sure if this is a bug or it works different on different servers...
I checked what is FTP root, it doesn't have slash at the end.
Anyway I used: ltrim($file,"/"); function, so there's no slash at the beginning and everything works fine.
2.
I also noticed that when file is downloaded from other server for thumbs or my progressbar slides action,
later downloaded file is not removed from default server.
So in admin's video component manage file after thumbs generate proccess I added:
if($downloaded==true && $server_id!=0) { unlink($src); }
Dowloaded video is removed then as it's not needed any more.
I think this is code that should be there in thumbs extract function.
I'm afraid that HDpornastar is right.
All those sources that sell such sort of traffic is only waste of your money, it's for naive people.
Buy advertisements at high traffic websites, not from sources that offer traffic which you can't even verify.
I'm pretty sure I could be your father, so imagine how could I change at this age?
I'm same restrictive with rules, same sensitive, same assertive when abused, but also same responsible and hard-working.
This is character that many younger people may not understand or even accept, but unfortunately I can't change it, not at my age.
Anyway I promised Symtab and also myself not to fight on public talking, and rather ignore what I do not accept.
Nuevolab no support for Video ads yet? Will you take custom work?
Won't reply for the obvious reson, that you surely know.
No we do not offer repair server libraries. Usually it is not installed properly and requires reinstallation (first remove), so it's like new setup, even more complicated. And I'm sorry but I do not accept your offer. I can't accept your website.
The url is BASE_URL.'/'.$comment['video_id'].'/' and you also need SLUG here.
I know it, anyway it's only for admin and finally your code redirects to correct url if only 'video_id' is correct :). But this is no problem to add slug to URL of course.
Also we have VText::truncate_chars($text, $limit=100, $replace=' ...', $preserve_words=FALSE) already included. You dont need to include any files, just use the static method and it will work.
I knew there must be truncate function somewhere, but was too lazy to look for it.
Updated code, I had to change truncate number parameter as your function works different (do not count dots)
No, email not sent.
This is little bit frustrating, as I see next and next user sends notification through AdultScriptForum, believing this works like an email.
Yesy, such email is received, but from AdultScript Forum, not from user email.
Then where am I suppozed to reply or send files? To forum? This is not possible.
I just did small update to Progressbar Thumbs mod plugin.
It's more cosmetic than code change.
Thumbs are now appearing with fade transition, and they do not dissapear when mouse over thumb. Previously they could display only when mouse over progressbar. Additionally it's possible to click on slide and jump to movie position.
http://www.nuevolab.com/slides
DuttyRock, if you prefer it, email me and I will send you one file changed (player file)
Need nice pro solution? Here you have.
Edir file /admin/modules/video/components/comments.php"
Find line:
"SELECT c.*, u.username
Change it to:
"SELECT c.*, u.username, v.title, v.slug
Find line:
LEFT JOIN #__user AS u ON (u.user_id = c.user_id)
Below insert new line:
LEFT JOIN #__video AS v ON (v.video_id = c.video_id)
Save changes to file.
Edit file /admin/templates/default/video_comments.tpl.php
Find line:
<td><?php echo long2ip($comment['ip']); ?></td>
Below insert new line:
<td width="15%" style="padding: 2px;"><?php echo '<a href="'.BASE_URL.'/'.$comment['video_id'].'/'.$comment['slug'].'">'. e(VText::truncate_chars($comment['title'], 16)).'</a>'; ?></td>
In next line change: width="50%"
To: width="35%"
Save changes to file.
Now you will have a link to video with shortened title of video (opens in new window)
Do changes carefully. Best backup 2 edited files first!
Maybe one more thing worth mentioning when talking of any type of Ad.
As you know for almost each browser there is plugin that block ads and many people use it.
In most cases then each "iframe" object will be blocked.
Also some browsers block each object that contains "ad" in name or even used in javascript code.
Some time ago for my AnyAd plugin I changed all code, so it is not blocked by AdBlockers. It willl always display.
But other case is content that you enter for such ad container.
Again, if this is iframe code or javascript or HTML with some sensitive words - ad can be blocked by AdBlocker.
This can be also request to AdultScript devs: avoid using words with "ad" inside, as this concerns not only player ads, but also any other type of ads.
Just simple example:
In old AnyAd plugin version I used to give id to player object: "adplayer". Similar for other variables.
But it was enough to block such object by AdBlocker under FIrefox.
So I changed "adplayer" to "aplayer", same with other names and js variables . And everything was fine, not blocked anymore.
I had the same progress bar as pornoxo.com has with jw player but was making my site very slow and that plugin had some annoying errors.
No suprise that JWPlayer plugin is very slow. It reads hundreds of thumbs one by one, making hundreds of HTTP requests for small picture files. Site and player is waiting for all to be loaded.
Nuevoplayer reads only one picture file, one HTTP request, all the rest is performed as super fast bitmap operations within flash app.
Unfortunately it's not possible for me to install Nuevoplayer plugin for Nuevoplayer custom installation that I do not know.
It's far too much for the price to learn first what someone did, where files are located, then change everything so it could be used for Nuevoplayer plugins.
Everyone can think of purchasing original Nuevoplayer integration, then installing it according to tutorial included.
Not only such integration allows to use any of Nuevoplayer plugins, but also brings many useful options and full control over each player setting.
This is what user DuttyRock did properly without any help from me. Tutorial is clear and not so much complicated.
If someone wish to know how to integrate ad networks like Exoclick or AdXpansion for Nuevolayer, just contact through Nuevolab website, it's pretty easy. Both ad networks are supported by Nuevoplayer. It deosn't require any plugin.
I'm glad that Progressbar Plugin is installed for client and is working as expected, including long videos.
There were multiple issues with installation, but not related to plugin or Nuevoplayer code, mostly because of website files accesibility, files write permissions, etc.
However this confirms that such installation can be too difficult for not experienced programmer.
This may sound strange but such plugin installation is like 5 times more complicated than whole Nuevoplayer, which as always is not so complicated to install thanks to good tutorial, and mainly thanks to how we prepared it.
I hope nobody will try to compare Nuevoplayer Progresbar thumbs Plugin to one that is offered for JWPlayer.
Simply there is nothing to compare. JW plugin doesn't provide any code or even suggestion for newbies how to generate, store and assign thumbs, and first of all it's much, much worse in speed and bandwidth usage. Just like 1:100.
Thanks.
Are you sure these are hotlinked videos or they are just embedded video?
If this is embedded video - there is no control over such embedded player and javascript cannot control overlay ad.
I don't have to write tutorial, as I have it written for myself.
But as I wrote above:
It is not enough universal so I could offer it.
I wrote it based on early 1.0 version that I received from Adrian.
I'm not even sure what version it is. Surely it's not final one, as it has a number of small bugs that probably were removed in final version.
But main problem is that such plugin is really difficult to install.
Deep changes go to many important files and it's far more changes that in other script.
Such plugin must work for standard upload, but also for admin upload and ftp upload. Finally there must be several changes to support manual slide generation. It's really easy to make small bug while installation and some of most important video script feature may stop to work.
If asked to say my own opinion based on my long experience, I would answer that 95% of webmasters are not able to install this plugin properly with any tutorial.
This is enough reasons not to offer such plugin as self-installed software,
Of course as an author I install such things with almost closed eyes. It can' be different for someone who does such things from really long years. Even if mistake made or script not compatible - I can find it fast.
Whatever, I expected that you can be really mad because of this missunderstanding. Unfortunately that's what many people are. However I'm glad you are not and even admit your fault. I appreciate it.
I am also glad that you were able to install Nuevoplayer yourself with our tutorial and it is working as expected.
So what I can offer to you:
if you can deliver your files FTP access - I can exclusively install such plugin for you in price of plugin without installation service.
Thought it was "built in" or packaged in.
This is not true.
There is nowhere wrtitten or promissed that progressbar thumbs plugin is built-in feature.
It's only offered as PREMIUM plugin and has it's price.
This is exactly same as with AdultScriptPro and Premium Modules,
Additionally it's very clearly explained on our AdultScriptPro integration related page that
such plugin is not a a built-in feature and can be purchased separately as PREMIUM plugin.
So maybe you didn't read information enough carefully, and this is not our fault.
This is exactly same as with AdultScriptPro and Premium Modules,
and I'm sorry to say but your disappointment is ungrounded.
It is also well explained in several places why we cannot offer such plugin with self-installation tutorial.
Believe me, if we could offer it - we would gladly do it. It's much more convenient for us.
Unfortunately there are too many different versions of AdultScriptPro, so it's not possible to write universal tutorial.
Additionally due to what AdultScript code is, such plugin is pretty difficult to install, much more difficult than for other supported video scripts. So we prefer to avoid any misunderstanding and very possible issues while self-installations.
All of this information is detaily described on Nuevolab website.
As far we didn't have single user who didn't understand what are PREMIUM plugins, and that they are not built-in into main software.
So I can only say sorry to you if you did not understood it or didn't read information enough carefully.
D.
Player is not the element where you can try to protect video files.
First this is how script stores and serve videos,
next this is server side setup.
However uou can pay fortune for protections, use lighttpd with multiple protection mods,
but intil website URL is like: http:// domain.com/999/title,
even for ignorant it's easy to guess video file URL, download it or stream.
In most cases it will be
http:// domain.com/media/videos/flv/999.flv
http:// domain.com/media/videos/mp4/999.mp4
http:// domain.com/media/videos/mobile/999.mp4
So you see, I don't even have to play such video with any player to guess video URL
You can also try to restrict flv,mp4,swf files from download and leeching by Rewrite Conditions in htaccess or inside webserver configuration files. This only if you do not offer embedded videos, what is understandable for adult business,
Good article about anti-hotlink using Rewrite Conditions strategy is:
http://perishablepress.com/creating-the … -strategy/
Summarizing - there is no perfect anti-hotlink method.
Video file URL sent to player must be PUBLIC and accesible.
You can make it harder to guess, but not restrict at all.
You can't beat services like Youtube with their millions of USD.
They also can't protect their videos against both: download and streaming.
Apple products play on any port, but they cant make use of the streaming itself (meaning fast forward without loading the entire file)
http://en.wikipedia.org/wiki/Adaptive_bitrate_streaming
Chapter: Apple HTTP Adaptive Streaming for iPhone/iPad
This is built-in feature in Apple iOS on iPhone/iPad
It works very similar as lighttpd or nginx streaming mods or even better.
Also Android announced such type of streaming some time ago,
but I do not own Android so can't confirm it, but will ask friends around.