Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-26014] Windows: Titanium.Media.MEDIA_TYPE_VIDEO not working.

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2018-10-04T01:56:55.000+0000
Affected Version/sRelease 7.1.1
Fix Version/sRelease 7.5.0
ComponentsWindows
Labelsn/a
ReporterAminul Islam
AssigneeKota Iguchi
Created2018-05-04T17:46:06.000+0000
Updated2018-10-08T10:37:26.000+0000

Description

Hello ! I am having problem to take video from Appcelerator windows 10 app Surface Pro . Titanium.Media.MEDIA_TYPE_VIDEO not working now.
var win = Ti.UI.createWindow({
    backgroundColor: '#fff'
});

var btnTakeMovie = Ti.UI.createButton({ title: 'title_take_video', top: 10, left: 5 });

win.add(btnTakeMovie)

btnTakeMovie.addEventListener('click', function (e) {
    Titanium.Media.showCamera({
        success: function (event) {
            Ti.API.info('success');
        },
        cancel: function () {
            Ti.API.info('cancel');
        },
        error: function (error) {
            Ti.API.info(JSON.stringify(error));
        },
        mediaTypes: [Titanium.Media.MEDIA_TYPE_VIDEO],
        videoMaximumDuration: 1000000,
        videoQuality: Titanium.Media.QUALITY_HIGH
    });
});

win.open();
Above code doesn't give me option for video. Test Environment: SDK 7.1.0 windows 10 Surface Pro Thanks

Comments

  1. Kota Iguchi 2018-05-08

    https://github.com/appcelerator/titanium_mobile_windows/pull/1234
  2. Samir Mohammed 2018-10-03

    FR has passed, waiting on Jenkins.
  3. Samir Mohammed 2018-10-08

    Closing ticket, verified fix in SDK Version 7.5.0.v20181005164109 Test and other information can be found at: https://github.com/appcelerator/titanium_mobile_windows/pull/1234

JSON Source