Interface: VideoTrimEventMap
Editor events and their payloads. Events without a payload map to void.
On the New Architecture each key is a method on the default export that subscribes a listener. On the Old Architecture every event arrives as a single native "VideoTrim" event, see VideoTrimEvent.
Properties
| Property | Type | Description |
|---|---|---|
onCancel | void | The user closed the editor without trimming. |
onCancelTrimming | void | The user cancelled a trim that was in progress. |
onError | VideoTrimErrorEvent | Loading, trimming or saving failed. |
onFinishTrimming | FinishTrimmingEvent | Trimming completed and the output file was written. |
onHide | void | The editor was dismissed. |
onLoad | LoadEvent | The media finished loading in the editor. |
onLog | LogEvent | FFmpeg log output while trimming. |
onShow | void | The editor was presented. |
onStartTrimming | void | The user confirmed and trimming started. |
onStatistics | StatisticsEvent | FFmpeg encoding statistics while trimming. |