Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Page 79 of 82 FirstFirst ... 29697778798081 ... LastLast
Results 1,171 to 1,185 of 1218
Like Tree7Likes

Thread: YouTube-to-MP3 conversion - PHP class and script

  1. #1171
    New to the CF scene
    Join Date
    Jul 2014
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts
    hi! big answer
    i've tested multiple downloads on my own computer/browser/tabs.
    it's ok, i though it was a limit for several global users, not for one ip.

    your idea of perhaps incorporating a premium user service sounds great !

    thank you

  2. #1172
    Senior Coder chump2877's Avatar
    Join Date
    Dec 2004
    Location
    the U.S. of freakin' A.
    Posts
    2,797
    Thanks
    19
    Thanked 156 Times in 147 Posts
    Quote Originally Posted by hedi View Post
    i've tested multiple downloads on my own computer/browser/tabs.
    it's ok, i though it was a limit for several global users, not for one ip.
    Yes, what you are experiencing only occurs when you have multiple tabs opened in a single browser.

    2 people using separate browsers will not experience this issue!
    Regards, R.J.

    ---------------------------------------------------------

    Help spread the word! Like my YouTube-to-Mp3 Conversion Script on Facebook !! :)
    [Related videos and tutorials are also available at my YouTube channel and on Dailymotion]
    Get free updates about new software version releases, features, and bug fixes!

  3. #1173
    Senior Coder chump2877's Avatar
    Join Date
    Dec 2004
    Location
    the U.S. of freakin' A.
    Posts
    2,797
    Thanks
    19
    Thanked 156 Times in 147 Posts

    New Version!

    Hi everyone,

    A new (updated and hopefully stable) distribution of files is located at the bottom of this post.

    PLEASE SEE THIS POST FOR IMPORTANT INFO REGARDING THE USE AND INSTALLATION OF THIS SCRIPT.

    DO NOT USE THE ZIP DISTRIBUTION LOCATED AT THE ABOVE LINKED PAGE. USE ONLY THE ZIP FILE ATTACHED TO THE BOTTOM OF THIS POST.
    New in this release:

    1. Fixed a bug with the download progress bar that affects people using PHP 5.5+


    Please note the following:

    • A new _PHP_VERSION constant has been added to config.class.php. This constant's value should be set to the number of whatever PHP version is running on your server. The value is of type "float" or "double", and the general format is "X.X". By default, the value is set to "5.3".


    The existing YouTubeToMp3Converter.class.php and config.class.php files were modified.

    There should be no need to edit software.xml, and thus modifying this file is strongly discouraged.


    YouTubeToMp3Converter.class.php experienced significant code revisions. If you have modified this file (from its default version), then you will likely need to use some kind of file content comparison utility to make the necessary changes.

    software.xml should be set to chmod 0777, or the lowest permissions possible that still enable programmatic modification of the file. Moreover, the directory that contains software.xml should be writable, and directory permissions should be modified accordingly.

    As always, please let me know if you have any questions/concerns regarding the above and/or the code.
    Attached Files Attached Files
    Last edited by chump2877; 08-07-2014 at 04:27 AM.
    Regards, R.J.

    ---------------------------------------------------------

    Help spread the word! Like my YouTube-to-Mp3 Conversion Script on Facebook !! :)
    [Related videos and tutorials are also available at my YouTube channel and on Dailymotion]
    Get free updates about new software version releases, features, and bug fixes!

  4. #1174
    Senior Coder chump2877's Avatar
    Join Date
    Dec 2004
    Location
    the U.S. of freakin' A.
    Posts
    2,797
    Thanks
    19
    Thanked 156 Times in 147 Posts

    New Version!

    Hello everyone,

    I have just finished updating the paid-for version of my software. New in this version:

    1. Fixed a bug with the download progress bar that affects people using PHP 5.5+.
    2. A new _PHP_VERSION constant has been added to Config.class.php. This constant's value should be set to the number of whatever PHP version is running on your server. The value is of type "float" or "double", and the general format is "X.X". By default, the value is set to "5.3".
    3. Conversions initiated via GET request (URL query string) now work for ALL available file types listed in the $_convertedFileTypes array in Config.class.php. (Previously, you could only convert to MP3 via GET.) If the file type is not specified in the URL query string, then the default file type in the $_convertedFileTypes array is assumed (the file type that includes the "checked" array index). By default, the default file type is MP3. Finally, to facilitate "pretty" (as well as shorter) URLs, a 2-character abbreviation has been assigned to each video hosting site. The abbreviations are defined in Config.class.php in the $_videoHosts array.
    4. Examples of valid conversion URLs include:
    5. A revised rewrite rule in the software's .htaccess file parses "pretty" URLs (like http://yoursite.com/dm/xpx9ah/mp4) and routes them to their corresponding conversions. (Note: If the software is in an iframe, and the parent frame/window file is in a different directory, then this rewrite rule must be moved to the parent frame/window directory's .htaccess file. See the comments in the software's .htaccess file for more about this.)
    6. When the software is embedded in an iframe, properly-formatted URLs will still initiate a download/conversion request (inside the iframe) when entered into the browser address bar of the parent window/tab! In short, the parent window receives the URL-initiated conversion request and then forwards the request to the iframe. Seamlessly!
    7. Various (minor) bug fixes and refactoring of code


    Extensive modifications were made to the software in this release
    . So many, in fact, that I have included a 'reports' directory in this ZIP distribution to clearly identify which code has changed since the previous version. Each report shows a side-by-side, graphic comparison of the previous and current versions of a given file.

    The following files were changed/added:

    1. .htaccess** updated
    2. index.php** updated
    3. Config.class.php** updated
    4. VideoConverter.class.php** updated

    ** See corresponding report in 'reports' directory in attached ZIP file for line-by-line illustration of code changes

    If you create a new language file for the software, please donate the file to the code base so that others can benefit from your translations! Simply send me a copy of your updated index.xml file as well as your new *.xml translation file, and I will add it to the software in a future release!


    All previous customers who have purchased the paid-for version of my app are receiving this new, updated version via the e-mail addresses that you provided at Tradebit.com.

    Please report any issues with either the paid-for version or the free version in this forum thread. Your feedback is encouraged. Donations are welcome!

    Thanks!
    Last edited by chump2877; 08-09-2014 at 04:01 AM.
    Regards, R.J.

    ---------------------------------------------------------

    Help spread the word! Like my YouTube-to-Mp3 Conversion Script on Facebook !! :)
    [Related videos and tutorials are also available at my YouTube channel and on Dailymotion]
    Get free updates about new software version releases, features, and bug fixes!

  5. #1175
    New to the CF scene
    Join Date
    Jul 2014
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts
    hi,

    a lot of dailymotion videos cannot be converted.
    Even if the convert process starts, we have a lot of buggy characters on screen.
    see this capture : http://i61.tinypic.com/ehf053.png

    I've tested on my website, and on a fresh install of your most recent version of the paid script.

    thank you

  6. #1176
    Senior Coder chump2877's Avatar
    Join Date
    Dec 2004
    Location
    the U.S. of freakin' A.
    Posts
    2,797
    Thanks
    19
    Thanked 156 Times in 147 Posts
    Quote Originally Posted by hedi View Post
    hi,

    a lot of dailymotion videos cannot be converted.
    Even if the convert process starts, we have a lot of buggy characters on screen.
    see this capture : http://i61.tinypic.com/ehf053.png

    I've tested on my website, and on a fresh install of your most recent version of the paid script.

    thank you
    What are the URLs of Dailymotion videos (examples) that cannot be converted?

    Can these same video page URLs be converted on the demo site, Youtube to MP3 Converter, Online Video Converter -Grabfrom.com

    I don't seem to be having any issues converting Dailymotion videos on the demo site.

    Have you checked the FAQ regarding these issues (the following are excerpts from that page):

    Q. When I enter a URL and click the "Convert" button, the page reloads and I see a bunch of strange characters and symbols filling up the screen. Why is this?
    A. Please ensure that your 'videos' directory is chmod to 0777 permissions. The script is trying to send the video download to the 'videos' directory, but adequate permissions are not set. So the raw, downloaded data has nowhere to go and is ultimately output to the screen.
    Try executing a simple PHP cURL request to the video hosting site's video page, and return the contents of the page to the screen. For example (for YouTube videos), place the following code in a new file, replacing the "vidID" URL query string parameter value with a valid YouTube video ID:

    PHP Code:
               <?php 
    // create a new cURL resource 
    $ch curl_init();  

    // set URL and other appropriate options 
    curl_setopt($chCURLOPT_URL"http://www.youtube.com/watch?v=vidID"); 
    curl_setopt($chCURLOPT_HEADER0); 

    // grab URL and pass it to the browser 
    curl_exec($ch);  

    // close cURL resource, and free up system resources 
    curl_close($ch); 
    ?>
    Save the file, upload it to your server, and open it in a browser. Do you see the HTML page located at that URL? If the video is blocked in your server's country, then this will be indicated in the screen's output. A blank page or CAPTCHA screen could indicate that your IP has either been temporarily banned or flagged (via the CAPTCHA) for exceeding video pull quota limits. It could also mean that your server is having networking issues.
    Regards, R.J.

    ---------------------------------------------------------

    Help spread the word! Like my YouTube-to-Mp3 Conversion Script on Facebook !! :)
    [Related videos and tutorials are also available at my YouTube channel and on Dailymotion]
    Get free updates about new software version releases, features, and bug fixes!

  7. #1177
    New to the CF scene
    Join Date
    Sep 2014
    Posts
    4
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Hello dear chump2877, I made a search on many posts, I would like to know from where I can download the free version of this script?

  8. #1178
    Senior Coder chump2877's Avatar
    Join Date
    Dec 2004
    Location
    the U.S. of freakin' A.
    Posts
    2,797
    Thanks
    19
    Thanked 156 Times in 147 Posts
    Quote Originally Posted by billwide View Post
    Hello dear chump2877, I made a search on many posts, I would like to know from where I can download the free version of this script?
    http://www.codingforums.com/post-php...ml#post1407447
    Regards, R.J.

    ---------------------------------------------------------

    Help spread the word! Like my YouTube-to-Mp3 Conversion Script on Facebook !! :)
    [Related videos and tutorials are also available at my YouTube channel and on Dailymotion]
    Get free updates about new software version releases, features, and bug fixes!

  9. Users who have thanked chump2877 for this post:

    billwide (09-03-2014)

  10. #1179
    New to the CF scene
    Join Date
    Sep 2014
    Posts
    4
    Thanks
    1
    Thanked 0 Times in 0 Posts
    The commercial script has some standard layout design implemented? How it looks like? Tks!

  11. #1180
    Senior Coder chump2877's Avatar
    Join Date
    Dec 2004
    Location
    the U.S. of freakin' A.
    Posts
    2,797
    Thanks
    19
    Thanked 156 Times in 147 Posts
    Quote Originally Posted by billwide View Post
    The commercial script has some standard layout design implemented? How it looks like? Tks!
    Hi,

    The default design/layout is intentionally simple and minimalistic. It is intended to be customized via HTML/CSS.

    You can see the default design at the bottom of this forum post (screenshots): http://www.codingforums.com/post-php...ml#post1217444

    And on Facebook, there are various snapshots and videos exhibiting default design: https://www.facebook.com/pages/Youtu...28039504063914

    And, if you are interested, the demo site, which uses a custom design (demonstrating how the default design could be customized): Youtube to MP3 Converter, Online Video Converter -Grabfrom.com
    Regards, R.J.

    ---------------------------------------------------------

    Help spread the word! Like my YouTube-to-Mp3 Conversion Script on Facebook !! :)
    [Related videos and tutorials are also available at my YouTube channel and on Dailymotion]
    Get free updates about new software version releases, features, and bug fixes!

  12. #1181
    New to the CF scene
    Join Date
    Jun 2014
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    does not work with this link

    I'm going crazy, I am unable to convert this videos to mp3, the songs is very good and I would like to download it. You know that the converter does not work with this links ?.
    https://www.youtube.com/watch?v=V_AAW-u9OcY
    https://www.youtube.com/watch?v=HAslqar9sgY
    thank you
    Last edited by ciberlinker; 09-04-2014 at 11:15 AM.

  13. #1182
    Senior Coder chump2877's Avatar
    Join Date
    Dec 2004
    Location
    the U.S. of freakin' A.
    Posts
    2,797
    Thanks
    19
    Thanked 156 Times in 147 Posts
    Quote Originally Posted by ciberlinker View Post
    I'm going crazy, I am unable to convert this videos to mp3, the songs is very good and I would like to download it. You know that the converter does not work with this links ?.
    https://www.youtube.com/watch?v=V_AAW-u9OcY
    https://www.youtube.com/watch?v=HAslqar9sgY
    thank you
    Hi,

    Please don't go crazy. No one wants that!

    Both of those videos are converting fine on the demo site: Youtube to MP3 Converter, Online Video Converter -Grabfrom.com

    Do you have the most recent version of software.xml (37.7) ?
    Regards, R.J.

    ---------------------------------------------------------

    Help spread the word! Like my YouTube-to-Mp3 Conversion Script on Facebook !! :)
    [Related videos and tutorials are also available at my YouTube channel and on Dailymotion]
    Get free updates about new software version releases, features, and bug fixes!

  14. #1183
    New to the CF scene
    Join Date
    Jul 2014
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts
    hi chump2877, me again
    thank you for your help it was indeed my fault.

    Just a last question : how can i set the default file type on select option ?
    it is mp3, and i want mp4 as default.

    Thank you

  15. #1184
    Senior Coder chump2877's Avatar
    Join Date
    Dec 2004
    Location
    the U.S. of freakin' A.
    Posts
    2,797
    Thanks
    19
    Thanked 156 Times in 147 Posts
    Quote Originally Posted by hedi View Post
    hi chump2877, me again
    thank you for your help it was indeed my fault.

    Just a last question : how can i set the default file type on select option ?
    it is mp3, and i want mp4 as default.

    Thank you
    Hi,

    In Config.class.php, in the $_convertedFileTypes array, the 'checked' => 'checked' array key is set for any given file type that should serve as the default file type. By default, this array key is set for 128k MP3.

    To change this setting from 128k MP3 to MP4, simply remove this array key from the 128k MP3 file type and add it to the MP4 file type in the $_convertedFileTypes array.

    Do let me know if you have any additional questions/concerns.

    Thanks!
    Regards, R.J.

    ---------------------------------------------------------

    Help spread the word! Like my YouTube-to-Mp3 Conversion Script on Facebook !! :)
    [Related videos and tutorials are also available at my YouTube channel and on Dailymotion]
    Get free updates about new software version releases, features, and bug fixes!

  16. #1185
    New to the CF scene
    Join Date
    Sep 2014
    Posts
    4
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Hello Chump2287, do you have scheduled some new task to implement in this script for example, a mobile theme?
    If this can be made - I imagine that can be easy - beyond running on desktops, it will also in mobiles devices!
    See demo screen in attach.
    YouTube-to-MP3 conversion - PHP class and script-app.jpg


 
Page 79 of 82 FirstFirst ... 29697778798081 ... LastLast

LinkBacks (?)

  1. 08-24-2014, 04:09 AM
  2. 07-21-2014, 05:32 PM
  3. 07-12-2014, 05:59 PM
  4. 06-26-2014, 03:39 PM
  5. 05-31-2014, 09:13 PM
  6. 04-24-2014, 07:53 PM
  7. 04-19-2014, 10:22 AM
  8. 04-04-2014, 08:33 PM
  9. 04-04-2014, 01:58 AM
  10. 03-28-2014, 06:03 AM
  11. 03-20-2014, 06:11 PM
  12. 03-16-2014, 01:22 AM
  13. 03-08-2014, 04:56 PM
  14. 03-07-2014, 06:21 PM
  15. 03-01-2014, 12:48 PM
  16. 02-22-2014, 08:40 PM
  17. 02-22-2014, 12:02 AM
  18. 02-21-2014, 08:15 PM
  19. 02-21-2014, 12:00 AM
  20. 02-20-2014, 08:37 PM
  21. 02-20-2014, 06:53 PM
  22. 02-20-2014, 03:21 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •