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

Android: scalingMode - VIDEO_SCALING_RESIZE_ASPECT_FILL not working since upgrading to Ti SDK 7.0.x

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Won't Fix
    • Affects Version/s: Release 7.0.1
    • Fix Version/s: None
    • Component/s: None
    • Environment:

      Android 7
      Ti SKD 7.0.0.GA and 7.0.2xxx

    • Story Points:
      1

      Description

      Since upgrading to Ti SDK 7.x and finding that `Ti.Media.VIDEO_SCALING_ASPECT_FILL` has been removed I changed to `Ti.Media.VIDEO_SCALING_RESIZE_ASPECT_FILL`. This works on iOS but on Android, it acts like `Ti.Media.VIDEO_SCALING_RESIZE_ASPECT` which resizes to fit the available area. Here is my embed code:

      `<VideoPlayer id="videoPlayer" ns="Ti.Media" url="/video/intro.mp4" sourceType="Ti.Media.VIDEO_SOURCE_TYPE_FILE" scalingMode= "Ti.Media.VIDEO_SCALING_RESIZE_ASPECT_FILL" backgroundColor="#D0EAED" onComplete="complete" autoplay="false" />`

      Attached is a screenshot. You can see the bar down the left side where the video has not stretched to fill.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                raefa Raef Akehurst
              • Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

                  • Titanium SDK/CLI <> Titanium Mobile
                    Synced with:
                    TIMOB-6092
                    Sync status:
                    ERROR
                    Last received:
                    Last sent:

                    Git Integration