cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vasyl Kovalisko (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CB-10373) Cordova plugin (navigator.camera.getPicture) to pick video is not full screen on iPad
Date Mon, 18 Jan 2016 10:08:39 GMT
Vasyl Kovalisko created CB-10373:
------------------------------------

             Summary: Cordova plugin (navigator.camera.getPicture) to pick video is not full
screen on iPad
                 Key: CB-10373
                 URL: https://issues.apache.org/jira/browse/CB-10373
             Project: Apache Cordova
          Issue Type: Bug
    Affects Versions: 5.3.3
            Reporter: Vasyl Kovalisko
            Priority: Critical


I have an issue on iPad when using navigator.camera.getPicture(...). I am trying to pick Video
from library. I found that on iPad my viewer to pick video files is very small. 

How can I make this view to be full screen?

This is my code to execute picking video from gallery:
function () {
  var defer = $q.defer();
  navigator.camera.getPicture(
    function (mediaFiles) {
      defer.resolve(mediaFiles);
    },
    function (errorData) {
      defer.reject(errorData);
    },
    {
      quality: 100,
      allowEdit: false,
      mediaType: Camera.MediaType.VIDEO,
      sourceType: Camera.PictureSourceType.PHOTOLIBRARY,
      destinationType: Camera.DestinationType.FILE_URI
    });
    return defer.promise;
}



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


Mime
View raw message