Skip to main content
Language

From Gallery

Open the Gallery for result using the ACTION_PICK action and MediaStore.Video.Media.EXTERNAL_CONTENT_URI Uri.

If the gallery exits with Activity.RESULT_OK, we get the Uri of the selected video using Intent.getData().

Start Editor#

Configure the LoadSettings to set the source to the Uri of the selected video. The VideoEditorBuilder takes in the configured VideoEditorSettingsList and starts the video editor. The result is obtained in the onActivityResult() method when the editor exits.