You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Becky Gibson (Created) (JIRA)" <ji...@apache.org> on 2011/12/06 21:43:40 UTC

[jira] [Created] (CB-105) captureVideo() is not saving videos to the Photo album

captureVideo() is not saving videos to the Photo album
------------------------------------------------------

                 Key: CB-105
                 URL: https://issues.apache.org/jira/browse/CB-105
             Project: Apache Callback
          Issue Type: Bug
          Components: iOS
    Affects Versions: 1.2.0
         Environment: iPad 2 running iOS 5
            Reporter: Becky Gibson
            Assignee: Becky Gibson


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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CB-105) captureVideo() is not saving videos to the Photo album

Posted by "Ismael Olusola Jimoh (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-105?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13493008#comment-13493008 ] 

Ismael Olusola Jimoh commented on CB-105:
-----------------------------------------

Hi,

Please this issue is still persistent in Phonegap 2.1 and later. 

Is there a walk around for this?

I currently can save videos into library(gallery) in android but iOS still doesn't.

Can this be resolved urgently?

Thanks.

Ismael
                
> 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

[jira] [Commented] (CB-105) captureVideo() is not saving videos to the Photo album

Posted by "Becky Gibson (JIRA)" <ji...@apache.org>.
    [ 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

[jira] [Commented] (CB-105) captureVideo() is not saving videos to the Photo album

Posted by "Christoph Pojer (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-105?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13493083#comment-13493083 ] 

Christoph Pojer commented on CB-105:
------------------------------------

I'm using this code to move a video from temporary to persistent storage: https://github.com/auphonic/auphonic-mobile/blob/master/JavaScript/Capture/CordovaVideoRecorder.js
                
> 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

[jira] [Commented] (CB-105) captureVideo() is not saving videos to the Photo album

Posted by "Ismael Olusola Jimoh (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-105?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13493132#comment-13493132 ] 

Ismael Olusola Jimoh commented on CB-105:
-----------------------------------------

Thanks a lot Christoph.

Would give it a go.

Ismael
                
> 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

[jira] [Resolved] (CB-105) captureVideo() is not saving videos to the Photo album

Posted by "Becky Gibson (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CB-105?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Becky Gibson resolved CB-105.
-----------------------------

    Resolution: Won't Fix

Need to keep this consistent with Android (which does not save to photo library) so will not change the behavior for iOS.
                
> captureVideo() is not saving videos to the Photo album
> ------------------------------------------------------
>
>                 Key: CB-105
>                 URL: https://issues.apache.org/jira/browse/CB-105
>             Project: Apache Callback
>          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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira