[TIMOB-8486] iOS: VideoPlayer does not fire touch events since 1.8.1
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Reopened |
Resolution | Unresolved |
Affected Version/s | Release 1.8.2, Release 7.5.0, Release 8.1.0 |
Fix Version/s | Release 2.1.0, Sprint 2012-08 |
Components | iOS |
Labels | api, engSchedule, module_media, qe-testadded, regression |
Reporter | Javier Rayon |
Assignee | Unknown |
Created | 2012-03-05T02:57:36.000+0000 |
Updated | 2019-08-27T15:41:15.000+0000 |
Description
VideoPlayer is not firing touch events anymore on iOS (other platforms not tested).
The next code works with sdk 1.7.5 and 1.8.0.1 on iOS, but is not working with sdk 1.8.1 nor 1.8.2
I tried to capture click, dblclik and touchstart events with same result.
Bug has been confirmed by the community at Q&A [http://developer.appcelerator.com/question/132645/bug-videoplayer-does-not-fire-touch-events-sdk-181]
var win = Ti.UI.createWindow();
var videoObject = Titanium.Media.createVideoPlayer({
contentURL:'test.mp4',
scalingMode:Titanium.Media.VIDEO_SCALING_MODE_FILL,
top:0,
left:0,
height:'100%',
width:'100%',
autoplay:true
});
videoObject.addEventListener('click', function(){
alert('click!');
});
win.add(videoObject);
win.open();
Introduced by commit [61981269ca24b87677df6b93102217f4118f3696](https://github.com/appcelerator/titanium_mobile/commit/61981269ca24b87677df6b93102217f4118f3696) as a fix for TIMOB-6601.
Closing issue Tested with Ti Studio build 2.1.0.201206172244 Ti Mobile SDK 2.1.0.v20120618154152 hash r7830c03d OSX Lion 10.7.3 iPhone 4S OS 5.1 The expected behavior is shown
Reopening to update labels