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

Android: Add VideoPlayer "showsControls" property

    Details

    • Story Points:
      1
    • Sprint:
      2018 Sprint 04 SDK

      Description

      Summary:
      As of Titanium 7.0.0, we've added VideoPlayer.showsControls property for iOS to show/hide the overlaid video controls. We should do the same on Android for parity.
      http://docs.appcelerator.com/platform/latest/#!/api/Titanium.Media.VideoPlayer-property-showsControls

      Test:
      Once this feature is implemented, run the below code on Android and verify that the video player does not show any overlaid controls when the video is tapped on.

      var window = Ti.UI.createWindow({ fullscreen: true });
      var videoView = Ti.Media.createVideoPlayer(
      {
      	url: "http://download.blender.org/peach/bigbuckbunny_movies/BigBuckBunny_640x360.m4v",
      	autoplay: true,
      	showsControls: false,
      	scalingMode: Ti.Media.VIDEO_SCALING_ASPECT_FIT,
      	width: Ti.UI.FILL,
      	height: Ti.UI.FILL,
      });
      window.add(videoView);
      window.open();
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jquick Joshua Quick
                Reporter:
                jquick Joshua Quick
                Reviewer:
                Gary Mathews
                Tester:
                Lokesh Choudhary
              • Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

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

                    Git Source Code