YPImagePicker icon indicating copy to clipboard operation
YPImagePicker copied to clipboard

How get .mov file from YPMediaItem

Open iOSDroid67 opened this issue 5 years ago • 2 comments

after select image and video in picker, I want to send all file to server. How I can get video file from selectedItem list? I can get url and thumbnail but I can not get .mov file from data.

thanks

iOSDroid67 avatar Jul 12 '20 06:07 iOSDroid67

Hi! You can use the PHAsset property of the video object and export the video in different formats -https://developer.apple.com/documentation/photokit/phimagemanager/1616981-requestexportsessionforvideo?language=objc

heitara avatar Aug 04 '20 23:08 heitara

@iOSDroid67 Did that solve your issue?

s4cha avatar Sep 24 '20 14:09 s4cha