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

Android: Support "allowBackground" for Ti.Media.VideoPlayer

    Details

      Description

      The Ti.Media.AudioPlayer has a property allowBackground to allow the audio not to be paused with the activity is paused, as implemented in AudioPlayerProxy.java on line #226.

      Unfortunately, Ti.Media.VideoPlayer does not have such a property. Though it might sound logical to pause the audio when the user can't see the video anymore, there are use cases where this is not the desired behaviour. Take the TED app, where the audio continues as well since the video is just to support the audio.

      It seems to me this could be easily fixed in a similar way in VideoPlayerProxy.java around line #668

        Attachments

          Activity

            People

            • Assignee:
              ingo Ingo Muschenetz
              Reporter:
              fokkezb Fokke Zandbergen
            • Watchers:
              6 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 Integration