You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Fernando Jose Torres Bermudez (JIRA)" <ji...@apache.org> on 2016/08/03 21:50:20 UTC
[jira] [Created] (CB-11666) Bug "Cordova Capture Video"
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-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org