Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

Upload video from an iPhone app to JWplayer platform


We are trying to upload videos from an iPhone app to JWplayer platform using the following api
https://api.jwplatform.com/v1/videos/create?api_format=json

The above api is successfully returning the key and token.

We have fetched the key, token and sent it to the following api along with video file path via input stream

http://upload.jwplatform.com/v1/videos/upload?api_format=json

But we are getting the response as

{ status code: 400, headers {
"Access-Control-Allow-Origin" = "*";
"Content-Length" = 166;
"Content-Type" = "text/html";
Date = "Fri, 11 Aug 2017 15:33:32 GMT";
Server = nginx;
} }

Please assist us with this.
Thanks

3 Community Answers

Daniel Berger

JW Player Support Agent  
0 rated :

Thanks. Our SDKs do not support using our APIs. There are a few reasons for this. I recommend that you load content from your dashboard like we do in this project: https://github.com/jwplayer/jwplayer-sdk-ios-demo

Martin

User  
0 rated :

Recently one of your (JWPlayer) team member has answered for a question related to upload in Android and it is working fine, So we want to implement the same in iOS.

For your reference https://support.jwplayer.com/customer/portal/questions/17118668-how-to-post-videos-from-android-to-jwplayer-server

Can you please help us to sort this in iOS.

Daniel Berger

JW Player Support Agent  
0 rated :

Thanks for clarifying. As my colleague mentioned, this is not a supported use-case. I therefore cannot provide further instructions on how to set up your proxy server to make the requests.

This question has received the maximum number of answers.