Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-22240

Quicktime .mov attachments are cropped rather than scaled to specified size

      NOTE: This bug report is for Confluence Server. Using Confluence Cloud? See the corresponding bug report.

      When using either the deprecated media tag !movie.mov! or the new multimedia macro, resizing a quicktime movie attachment does not actually change the size of the movie - just the size of the viewport.

      This appears to be due to the missing 'scale' attribute from the object/embed tags generated. So the object viewport changes but the movie is still the original size, resulting in a cropped media file.

      Reproduce:

      1. Create a movie of size 1600x900 px
      2. attach to page
      3. edit page and add multimedia macro
      4. add width of 800 and height of 450

      The movie will be displayed and checking the source will show both the object and embed tags have width & height set as per the macro settings, however a 'cropped' version of the movie is shown.

      In order to 'fix', use "Inspect Element" and add the attribute scale="aspect" to the object and embed tags and this will fix the display and present the movie correctly. However, the fix is not permanent of course... it just proves what needs to be done in the source code to get things to work as expected.

            [CONFSERVER-22240] Quicktime .mov attachments are cropped rather than scaled to specified size

              Unassigned Unassigned
              ddb2adac326c Matt Keeble
              Affected customers:
              9 This affects my team
              Watchers:
              10 Start watching this issue

                Created:
                Updated:
                Resolved: