Skip to content

Commit

Permalink
Update for use with new response from cropAsset
Browse files Browse the repository at this point in the history
  • Loading branch information
rossmartin committed Mar 30, 2016
1 parent bab7772 commit 2ce271b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/pages/video/video.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ export class VideoPage {
InstagramAssetsPicker.cropAsset(
(result) => {
console.log('InstagramAssetsPicker cropAsset success, result: ', result);
this.createThumbnail(result);
this.createThumbnail(result.filePath);
},
(err) {
console.log('InstagramAssetsPicker cropAsset error, err: ', err);
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@
"cordova-plugin-statusbar",
"cordova-plugin-spinner-dialog",
"cordova-plugin-instagram-assets-picker",
"cordova-plugin-video-editor"
"cordova-plugin-video-editor",
"cordova-plugin-console"
],
"cordovaPlatforms": [
"ios"
Expand Down

0 comments on commit 2ce271b

Please sign in to comment.