Fernando Jose Torres Bermudez created CB-11666:
--------------------------------------------------

             Summary: Bug "Cordova Capture Video"
                 Key: CB-11666
                 URL: https://issues.apache.org/jira/browse/CB-11666
             Project: Apache Cordova
          Issue Type: Bug
          Components: Android, Plugin Media Capture
    Affects Versions: 3.5.0
            Reporter: Fernando Jose Torres Bermudez


By capturing a video and do a preview a video tag, the video leaves me 90 
rotated only happens in portrait, the code is as follows:

var options = {
                        quality: 50,
                        sourceType: Camera.PictureSourceType.PHOTOLIBRARY,
                        mediaType: Camera.MediaType.ALLMEDIA,
                        destinationType: Camera.DestinationType.FILE_URI,
      correctOrientation: true,
      allowEdit : true
                };

                $cordovaCamera.getPicture(options).then(function(video) {

     
      $('#previewVideo')[0].pause();

      $scope.videoInfo.localURL = video;

        console.log(err);
      });


    }, function(err) {
      console.log(err);
      if($scope.step == 1){
        $state.go('app.asiSomos');
      }
    });
  }



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to