[TIMOB-26014] Windows: Titanium.Media.MEDIA_TYPE_VIDEO not working.
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2018-10-04T01:56:55.000+0000 |
Affected Version/s | Release 7.1.1 |
Fix Version/s | Release 7.5.0 |
Components | Windows |
Labels | n/a |
Reporter | Aminul Islam |
Assignee | Kota Iguchi |
Created | 2018-05-04T17:46:06.000+0000 |
Updated | 2018-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
https://github.com/appcelerator/titanium_mobile_windows/pull/1234
FR has passed, waiting on Jenkins.
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