This repository was archived by the owner on Sep 15, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -46,8 +46,8 @@ _None._
4646
4747### New Features
4848
49- - Add ` tag ` parameter to ` PostServiceRemoteOptions ` [ #634 ]
5049- Add ` transfer ` case to ` DomainType ` case [ #642 ]
50+ - Add ` size ` property to ` RemoteMedia `
5151
5252## 8.10.0
5353
Original file line number Diff line number Diff line change @@ -391,7 +391,7 @@ + (NSArray *)remoteMediaFromJSONArray:(NSArray *)jsonMedia
391391
392392+ (RemoteMedia *)remoteMediaFromJSONDictionary : (NSDictionary *)jsonMedia
393393{
394- RemoteMedia * remoteMedia= [[RemoteMedia alloc ] init ];
394+ RemoteMedia *remoteMedia = [[RemoteMedia alloc ] init ];
395395 remoteMedia.mediaID = [jsonMedia numberForKey: @" ID" ];
396396 remoteMedia.url = [NSURL URLWithString: [jsonMedia stringForKey: @" URL" ]];
397397 remoteMedia.guid = [NSURL URLWithString: [jsonMedia stringForKey: @" guid" ]];
@@ -412,6 +412,7 @@ + (RemoteMedia *)remoteMediaFromJSONDictionary:(NSDictionary *)jsonMedia
412412 remoteMedia.remoteThumbnailURL = [jsonMedia stringForKeyPath: @" thumbnails.fmt_std" ];
413413 remoteMedia.videopressGUID = [jsonMedia stringForKey: @" videopress_guid" ];
414414 remoteMedia.length = [jsonMedia numberForKey: @" length" ];
415+ remoteMedia.size = [jsonMedia stringForKey: @" size" ];
415416 return remoteMedia;
416417}
417418
Original file line number Diff line number Diff line change 2323@property (nonatomic , strong , nullable ) NSDictionary *exif;
2424@property (nonatomic , strong , nullable ) NSString *videopressGUID;
2525@property (nonatomic , strong , nullable ) NSNumber *length;
26+ @property (nonatomic , strong , nullable ) NSString *size;
2627@property (nonatomic , strong , nullable ) NSString *remoteThumbnailURL;
2728
2829@end
You can’t perform that action at this time.
0 commit comments