Overview
The component performs video compression on the client side using FFmpeg compiled to WebAssembly.
The main goal is to allow an OutSystems application to:
CompressVideo
The main reusable action exposed by the component.
Input
CompressInput
The action receives:
Output
VideoCompressionResult
The action returns:
LoadFFMPEGScript
The component includes a helper flow/block:
FFMPEG > LoadFFMPEGScript
This block runs logic on OnReady to prepare the JavaScript bridge.
OnReady
The OnReady JavaScript node should:
ODCVideoCompression
____________
The default output format is: video/mp4
video/mp4
How to Use the Component
IsSuccess = True
CompressedFileBase64