Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow zooming out beyond video boundaries while preserving aspect ratio #148

Open
maRci002 opened this issue Apr 13, 2023 · 1 comment
Open
Labels
enhancement New feature or request

Comments

@maRci002
Copy link

Currently, users cannot zoom out beyond the boundaries of the video. This means that if the video is in a 1:1 aspect ratio and the user selects a 9:16 aspect ratio, they cannot zoom out to see the full video without cropping the sides.

The expected behavior should be that the user can zoom out beyond the boundaries of the video, but only up to the point where at most one axis of the video exceeds the dimensions of the original video. This will allow the user to see more of the video without losing any content.

Here are the images to illustrate the current and expected behavior:

Actual: the crop area cannot be bigger than the actual video

+-----------------------------+
|       +-------------+       |
|       |             |       |
|       |             |       |
|       |             |       |
|       |             |       |
|       |             |       |
|       |             |       |
|       |             |       |
|       +-------------+       |
+-----------------------------+

Expected: the crop area can be bigger than the actual video but at most it can only be greater than one axis

+-----------------------------+
|                             |
|                             |
|                             |
|                             |
|                             |
+-----------------------------+
|                             |
|                             |
|                             |
|                             |
|                             |
|                             |
|                             |
|                             |
|                             |
+-----------------------------+
|                             |
|                             |
|                             |
|                             |
|                             |
+-----------------------------+
@LeGoffMael LeGoffMael added the enhancement New feature or request label Apr 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants
@maRci002 @LeGoffMael and others