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._
46
46
47
47
### New Features
48
48
49
- - Add ` tag ` parameter to ` PostServiceRemoteOptions ` [ #634 ]
50
49
- Add ` transfer ` case to ` DomainType ` case [ #642 ]
50
+ - Add ` size ` property to ` RemoteMedia `
51
51
52
52
## 8.10.0
53
53
Original file line number Diff line number Diff line change @@ -391,7 +391,7 @@ + (NSArray *)remoteMediaFromJSONArray:(NSArray *)jsonMedia
391
391
392
392
+ (RemoteMedia *)remoteMediaFromJSONDictionary : (NSDictionary *)jsonMedia
393
393
{
394
- RemoteMedia * remoteMedia= [[RemoteMedia alloc ] init ];
394
+ RemoteMedia *remoteMedia = [[RemoteMedia alloc ] init ];
395
395
remoteMedia.mediaID = [jsonMedia numberForKey: @" ID" ];
396
396
remoteMedia.url = [NSURL URLWithString: [jsonMedia stringForKey: @" URL" ]];
397
397
remoteMedia.guid = [NSURL URLWithString: [jsonMedia stringForKey: @" guid" ]];
@@ -412,6 +412,7 @@ + (RemoteMedia *)remoteMediaFromJSONDictionary:(NSDictionary *)jsonMedia
412
412
remoteMedia.remoteThumbnailURL = [jsonMedia stringForKeyPath: @" thumbnails.fmt_std" ];
413
413
remoteMedia.videopressGUID = [jsonMedia stringForKey: @" videopress_guid" ];
414
414
remoteMedia.length = [jsonMedia numberForKey: @" length" ];
415
+ remoteMedia.size = [jsonMedia stringForKey: @" size" ];
415
416
return remoteMedia;
416
417
}
417
418
Original file line number Diff line number Diff line change 23
23
@property (nonatomic , strong , nullable ) NSDictionary *exif;
24
24
@property (nonatomic , strong , nullable ) NSString *videopressGUID;
25
25
@property (nonatomic , strong , nullable ) NSNumber *length;
26
+ @property (nonatomic , strong , nullable ) NSString *size;
26
27
@property (nonatomic , strong , nullable ) NSString *remoteThumbnailURL;
27
28
28
29
@end
You can’t perform that action at this time.
0 commit comments