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

iOS: Unable to see MP4 videos on iPhone 11

    Details

    • Type: Bug
    • Status: Open
    • Priority: None
    • Resolution: Unresolved
    • Affects Version/s: Release 9.0.0, Release 9.3.0
    • Fix Version/s: None
    • Component/s: iOS
    • Labels:
      None
    • Environment:

      MacOS Big Sur: 11.0 Beta 9
      Xcode: 12.2 Beta
      Java Version: 1.8.0_242
      Android NDK: 21.3.6528147
      Node.js: 12.18.1
      ""NPM":"5.0.0","CLI":"8.1.1""
      iphone 11 (14.2)

      Description

      When playing an mp4 video with the following test case on devices (iphone 11) the video is not visible but the sound can be heard. On sims the video is playable.

      var win = Ti.UI.createWindow({
          backgroundColor: '#fff'
      });
       
      win.add(Ti.UI.createLabel({
          text: '1. Let movie play through, then 2. press Play again', textAlign: 'center',
          color: '#000',
          height: 100, top: 0
      }));
       
      var video = Ti.Media.createVideoPlayer({
          url: '/movie.mp4',
          backgroundColor: '#111',
          movieControlMode: Ti.Media.VIDEO_CONTROL_DEFAULT,
          top: 100, bottom: 100,
          autoplay: true
      });
      win.add(video);
       
      var stop = Ti.UI.createButton({
          title: '3. Press me to try to stop video',
          height: 100, bottom: 0
      });
      stop.addEventListener('click', function (evt) {
          video.stop();
      });
      win.add(stop);
       
      win.open();
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              smohammed Samir Mohammed
            • Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:

                Backbone Issue Sync

                • Backbone Issue Sync is enabled for your project, but we do not have any synchronization info for this issue.

                  Git Integration