I purchase your converter already, and it's great. Awesome....!!!
Originally Posted by chump2877
I get asked this question quite a bit: How do I use a URL like http://www.mysite.com/?video_id=FVtB2Lrd1vg
with your software? In other words, how do I initiate a conversion with a GET request instead of a POST request?
Well, the answer really is quite simple: Just check for the existence of GET 'video_id' variable and then, if found, use its value to populate the POST array. For example, this should work for the free version:
$_POST['submit'] = 1;
$_POST['youtubeURL'] = "http://www.youtube.com/watch?v=" . $_GET['video_id'];
$_POST['quality'] = 128;
This concept could also be adapted for SEO friendly URLs like http://www.mysite.com/video/FVtB2Lrd1vg
as well. You just need to use the PHP string
functions to apply some pattern matching on the URL, and then extract the ID at the end of the URL.
In the next version of the software, I will add this feature to both free and paid-for versions.
Same question, how to make it, URL like http://www.mysite.com/?video_id=FVtB2Lrd1vg
Can you tell me which file or where that I should edit to have URL like that, and what I have to do with that file?? I can't wait for next version.