Language
To a Remote URL
Start Editor#
For the sake of this example, we load a video from the resources into the video editor.
By default, VideooEditor SDK exports the video as a temporary file in the application's cache directory.
Handle Result#
The result from the editor is received in the onActivityResult()
method. EditorSDKResult
wraps around the intent and provides a convenient API to check the result. The Uri
of the exported video can be accessed via EditorSDKResult.resultUri
. Here, we upload the exported video by launching a coroutine and calling the NetworkUtils.upload()
suspend function. While the upload is running, we show a loader and dismiss it when the upload is finished.