Video resizing in CreativeEditor SDK (CE.SDK) allows you to change the dimensions of video elements to match specific layout requirements. Unlike scaling, resizing allows independent control of width and height dimensions, making it ideal for fitting videos into predefined spaces or responsive layouts.
You can resize videos both through the built-in user interface and programmatically using the SDK’s APIs, providing flexibility for different workflow requirements.
Launch Web DemoGet Started
Resize Methods#
CE.SDK supports several approaches to video resizing:
- Absolute Dimensions: Set specific pixel dimensions for precise control
- Percentage-based Resizing: Size relative to parent container for responsive designs
- UI Resize Handles: Interactive resize controls in the editor interface
- Aspect Ratio Constraints: Maintain or ignore aspect ratios during resize operations
Applying Resizing#
UI-Based Resizing#
You can resize videos directly in the CE.SDK user interface using resize handles. Users can drag edge and corner handles to adjust dimensions independently or proportionally, making it easy to fit videos into specific layouts visually.
Programmatic Resizing#
Developers can apply resizing programmatically, using the SDK’s API. This allows for precise dimension control, automated layout adjustments, and integration with responsive design systems or template constraints.
Combining with Other Transforms#
Video resizing works seamlessly with other transformation operations like rotation, cropping, and positioning. You can chain multiple transformations to create complex layouts while maintaining video quality and performance.