public override void ViewDidLoad()
        {
            uploadVideo.Enabled = false;

            pickerController = new UIImagePickerController();
            pickerController.SourceType = UIImagePickerControllerSourceType.PhotoLibrary;
            pickerController.MediaTypes = UIImagePickerController.AvailableMediaTypes (UIImagePickerControllerSourceType.PhotoLibrary);
            pickerController.FinishedPickingMedia += finishPickImage;
            pickerController.Canceled += cancelImagePicker;

            selectVideo.TouchUpInside += (sender, e) => PresentViewController (pickerController, true, null);

            uploadVideo.TouchUpInside += (sender, e) =>  {

                uploadResult = new CISolution.CloudinaryHelper().uploadVideo(fd);

                if(uploadResult.Error == null) {
                    alertController = UIAlertController.Create("Success", uploadResult.JsonObj.ToString(), UIAlertControllerStyle.ActionSheet);
                } else {
                    alertController = UIAlertController.Create("Error", uploadResult.Error.Message, UIAlertControllerStyle.ActionSheet);
                }

                alertController.AddAction(UIAlertAction.Create("Cancel", UIAlertActionStyle.Cancel, null));
                PresentViewController(alertController,true,null);
                uploadVideo.Enabled = false;
            };
        }
 protected override Java.Lang.Object DoInBackground(params Java.Lang.Object[] @params)
 {
     uploadResult = new CISolution.CloudinaryHelper().uploadVideo((string)@params[0]);
     return true;
 }