Description
Ref - https://github.com/bigbinary/neeto-kb-web/issues/7544#issuecomment-2656538726
https://kirti-gulati-official-workspace.neetorecord.com/watch/3f39c02d03790424a8fd
Problem: Handling Embedded Videos with Varying Aspect Ratios
Users can embed videos with diverse aspect ratios (e.g., 4:3, 16:9, 9:16, custom). Maintaining responsiveness across different devices is crucial. Currently, we use a default aspect ratio for embedded videos to ensure responsiveness. However, when a user embeds a video with a different aspect ratio, additional spacing appears around the video, which is expected behavior.
One possible solution: Allow users to adjust the aspect ratio of embedded videos
-
Default aspect ratio: Set a sensible default (e.g., 16:9) that covers most common video formats.
-
Aspect ratio adjustment: Provide an intuitive way for users to select an aspect ratio, such as a dropdown with common presets (4:3, 16:9, 9:16, 1:1, etc.). The video's aspect ratio should dynamically update based on the user's selection or default if none is chosen.
This provides users with control over the presentation of their embedded videos while preserving responsiveness.