This "Alternate" Single Button API leverages our MP3 Converter Pro JSON API PHP SDK to enable MULTIPLE domains to consume the Same, Single MP3 Converter Pro installation and display corresponding, customizable, MP3 download buttons - Brought to you by RAJ Web Consulting
This API enables MP3 conversions of multimedia content from YouTube, TikTok, Facebook, Instagram, Twitter, SoundCloud, Vimeo, Dailymotion, VK, and AOL -- 10 of the largest video/audio hosting sites in the world!
Note: While only MP3 download format is currently supported (by default), the underlying JSON API PHP SDK still supports both MP3 and MP4. Thus, MP4 support can be easily added via some minor code modification, and we'll try to update this project accordingly in the future.
To leverage a single MP3 Converter Pro license to implement MP3 download buttons on multiple, different domains, thereby:
- Isolating MP3 conversion and file caching to a single, Primary Domain (where the MP3 Converter Pro is installed)
- Freeing up valuable server resources on the remaining domains
- Enabling the monetization of multiple domains instead of only the Primary Domain
- YouTube Video Backend
- All YouTube Video Backend requirements
- MP3 Converter Pro
- All MP3 Converter Pro requirements
- PHP 7.4+
1.) Download GitHub project ZIP file or Clone GitHub repo
2.) Navigate to your web root directory in a command-line terminal
3.) Install project dependencies via Composer:
composer install --no-dev
...or via aaPanel, as PHP user (e.g., "www"):
sudo -u www composer install --no-dev
4.) Edit Config.php and add your Domains:
class Config
{
// Domain of this Script
const _DOMAIN = 'https://yourDomain.com';
// Domain of MP3 Converter Pro v3
const _CONVERTER_URL = 'https://yourDomain.com';
}
Please visit the MP3 Converter Pro "Alternate" Single Button API GitHub page for live examples.