Replace filter in code form "allPhotos" with "allAssets" in two places in
ELCAlbumPickerController.m class
-(UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
// replace [g setAssetsFilter:[ALAssetsFilter allPhotos]]; as it filter only photo
[g setAssetsFilter:[ALAssetsFilter allAssets]]; //gives allassets
}
-(void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
// replace [picker.assetGroup setAssetsFilter:[ALAssetsFilter allPhotos]]; as it filer only photo
**[picker.assetGroup setAssetsFilter:[ALAssetsFilter allAsset]];** // gives allassets
}
now all asset will be shown in Library.To differentiate between video and image thumbnail , you now have to add some code ELCAsset.m class in constructor
-(id)initWithAsset:(ALAsset*)asset_ {
if ([self.asset valueForProperty:ALAssetPropertyType] == ALAssetTypeVideo ){
// code for video thumbnail
// you can use this link to understand video thumbnail
//http://stackoverflow.com/questions/11688938/alasset-thumbnail-at-specific-timestamp
}
if ([self.asset valueForProperty:ALAssetPropertyType] == ALAssetTypePhoto ){
// code for Photo thumbnail
}
}