Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-8486

iOS: VideoPlayer does not fire touch events since 1.8.1

    Details

    • Story Points:
      2

      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

      Test case: App.js

      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();
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                stephentramer Stephen Tramer
                Reporter:
                jaraen Javier Rayon
              • Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Git Source Code