Zencoder api works locally but not Live

I am using Zencoder API to convert video. I created two different API keys for my local and live server.

When I test the video conversion from my local video, its send request to Zencoder works fine. But, when the same process I do with my live server then it doesn't send any request to Zencoder API. Use, FTP to send request and response.

My input and output url like

define('INPUT_URL', "ftp://username:password@127.0.0.1/project/upload/");
define('OUTPUT_URL', "ftp://username:password@127.0.0.1/project/upload/");    
$inputUrl = INPUT_URL.$fileInfo['file_name'] . '.' . $fileInfo['file_type'];
$outputUrl = OUTPUT_URL.$new_file;

      

127.0.0.1 written according to the example. My code is using my IP address.

Any idea why it can't work live? Thank!

+3
api php zencoder


source to share


No one has answered this question yet

Check out similar questions:

2263
How to get YouTube video thumbnail using YouTube API?
1906
How does PHP foreach work?
1065
Link. What does this error mean in PHP?
4
API stops working until request is made on GoDaddy server
2
Zencoder API PHP Thumbnails
0
Uploading a PHP project to production (using composer)
0
Use live API or store data locally in your own database?
0
Laravel API getting 404 error on live server
0
Deploying Adonisjs + Vuejs App to Live Server
0
How to combine and work zencoderfetcher with video in Drupal 7



All Articles
Loading...
X
Show
Funny
Dev
Pics