Language
To Base64
Start Editor#
For the sake of this example, we load a video from the resources into the video editor.
By default, VideoEditor 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 launch a coroutine to read the bytes of the exported video and then encode them into a Base64 string while showing a loader.