To a Remote URL
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.
The result from the editor is received in the
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.