Language
From Local Path
VideoEditor SDK supports loading video files from the local file system such as the documents or a temporary directory, as well as the application resources.
Open the editor#
To load the video into the editor simply specify it as the video parameter inside the asynchronous VESDK.openEditor function. In this example, we load a video from the local path into the editor.
Handle events#
Once the editor finishes, a VideoEditorResult is returned which contains the edited video at VideoEditorResult.video. If no result is returned, the user has canceled the editing process by clicking the cancel button inside the editor.