[ 
https://issues.apache.org/jira/browse/CB-105?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13493245#comment-13493245
 ] 

Becky Gibson commented on CB-105:
---------------------------------

You should just be able to uncomment this code within the processVideo method 
in CordovaLib/classes/CDVCapture.m to get the videos saved in the photoAlbum:

- (CDVPluginResult*)processVideo:(NSString*)moviePath 
forCallbackId:(NSString*)callbackId
{
    // save the movie to photo album (only avail as of iOS 3.1)

    /* don't need, it should automatically get saved
     NSLog(@"can save %@: %d ?", moviePath, 
UIVideoAtPathIsCompatibleWithSavedPhotosAlbum(moviePath));
    if (&UIVideoAtPathIsCompatibleWithSavedPhotosAlbum != NULL && 
UIVideoAtPathIsCompatibleWithSavedPhotosAlbum(moviePath) == YES) {
        NSLog(@"try to save movie");
        UISaveVideoAtPathToSavedPhotosAlbum(moviePath, nil, nil, nil);
        NSLog(@"finished saving movie");
    }*/
                
> captureVideo() is not saving videos to the Photo album
> ------------------------------------------------------
>
>                 Key: CB-105
>                 URL: https://issues.apache.org/jira/browse/CB-105
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: 1.2.0
>         Environment: iPad 2 running iOS 5
>            Reporter: Becky Gibson
>            Assignee: Becky Gibson
>              Labels: video
>
> I could have sworn that captureVideo saved the video's into the photo album 
> (I even have videos on my ipad to prove it!).  However, that does not seem to 
> be working.  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to