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

Android: repeatMode for VideoPlayer (parity)

    Details

      Description

      Androids VideoPlayer is missing the repeatMode. This is a parity ticket to add the two repeatStates (loop/no-loop)

      Example:

      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,
      	repeatMode: Titanium.Media.VIDEO_REPEAT_MODE_ONE
      });
       
      videoPlayer.url = 'movie.mp4';
      vidWin.add(videoPlayer);
      vidWin.open();
      

      Modes:

      • Titanium.Media.VIDEO_REPEAT_MODE_NONE
      • Titanium.Media.VIDEO_REPEAT_MODE_ONE

        Attachments

          Activity

            People

            • Assignee:
              gmathews Gary Mathews
              Reporter:
              michael Michael Gangolf
              Reviewer:
              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