Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-8486] iOS: VideoPlayer does not fire touch events since 1.8.1

GitHub Issuen/a
TypeBug
PriorityHigh
StatusReopened
ResolutionUnresolved
Affected Version/sRelease 1.8.2, Release 7.5.0, Release 8.1.0
Fix Version/sRelease 2.1.0, Sprint 2012-08
ComponentsiOS
Labelsapi, engSchedule, module_media, qe-testadded, regression
ReporterJavier Rayon
AssigneeUnknown
Created2012-03-05T02:57:36.000+0000
Updated2019-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();

Comments

  1. Stephen Tramer 2012-04-12

    Introduced by commit [61981269ca24b87677df6b93102217f4118f3696](https://github.com/appcelerator/titanium_mobile/commit/61981269ca24b87677df6b93102217f4118f3696) as a fix for TIMOB-6601.
  2. Michael Pettiford 2012-06-19

    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
  3. Anshu Mittal 2012-07-08

    Reopening to update labels

JSON Source