Uploaded image for project: 'Appcelerator - INBOX'
  1. Appcelerator - INBOX
  2. AC-1420

VideoPlayer is not working on Android 5.0 Lollipop

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Duplicate
    • Affects Version/s: None
    • Component/s: Titanium SDK & CLI
    • Environment:

      Titanium SDK: 3.5.0.GA, 3.5.1.GA,3.5.2.v20150310143218(Master)
      Titanium CLI: 3.4.2
      OS X Version: 10.9.5
      Android 5.0 Lollipop

      Description

      Hi ,

      Titanium.Media.createVideoPlayer is not working properly on Android 5.0 Lollipop with Ti SDK 3.5.0.GA and 3.5.1.GA but its work fine on 4.x and iOS also .

      Sample code

      var vidWin = Titanium.UI.createWindow({
          title : 'Video View Demo',
          backgroundColor : '#fff'
      });
       
      var videoPlayer = Titanium.Media.createVideoPlayer({
          top : 2,
          autoplay : true,
          //backgroundColor : 'blue',
          height : 300,
          width : 300,
          mediaControlStyle : Titanium.Media.VIDEO_CONTROL_DEFAULT,
          scalingMode : Titanium.Media.VIDEO_SCALING_ASPECT_FIT
      });
       
      videoPlayer.url = 'http://test......../video/...Interview.mp4';
      vidWin.add(videoPlayer);
      vidWin.open();
      
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                rtlechuga Radamantis Torres-Lechuga (Inactive)
                Reporter:
                hmrida Harish Mridha
              • Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Git Integration