ios - Uploaded Video did not show on vine app -


i found this: https://github.com/vineapi/vineapi/blob/master/endpoints.md

i have following process share video on vine app. 1.login:https://api.vineapp.com/users/authenticate authentication using above doc lin api. have received key(session key). enter image description here

for process. after use next api upload video thumbnail on vine. 2.thumnails https://media.vineapp.com/upload/thumbs/1.3.1.mp4.jpg

enter image description here

thumbnails uploaded on vine , received server response uploaded thumbnails url in x-upload-key. can see above image. 3.upload video:https://media.vineapp.com/upload/videos/1.3.1.mp4 enter image description here

video data uploaded on vine , received server response uploaded video url in x-upload-key. can see above image. 4.create post:https://api.vineapp.com/posts enter image description here

post create on vine , received server response

{ code = ""; data =     {     created = "2016-04-18t09:27:20.000000";     permalinkurl = "https://vine.co/v/ifaqlt7w5qm";     postid = 1333777877887795200;     videourl = "http://v.cdn.vine.co/static/private_post_old_client.mp4"; }; error = ""; success = 1; 

}

when open permalinkurl = "https://vine.co/v/ifaqlt7w5qm"; error message.you can see in image enter image description here

and aslo open link on browser http://v.cdn.vine.co/static/private_post_old_client.mp4

video autometically download video did not download actual video.show message on video this. enter image description here

please me.have idea.

finally did it,

just change setting of avassetexportsession before exporting video save.

self.exportsession = [[avassetexportsession alloc] initwithasset:mixcomposition presetname:avassetexportpreset640x480];

self.exportsession.outputfiletype = avfiletypempeg4;


Comments

Popular posts from this blog

javascript - Hide toolbar of pdf file opened inside iframe using firefox -

Ansible - ERROR! the field 'hosts' is required but was not set -

Copy range with conditional formatting -