Using the Video Editor
Video Editor
is built to support versatile video editing capabilities for a broad range of video applications.
In this example, we will show you how to initialize the Video Editor
solution for the mobile editor on iOS.
The mobile editor is implemented entirely with SwiftUI and this example assumes that you also use SwiftUI to integrate it, however, you can check the UIKit implementation sample on the quickstart page. It can be also applied to this example.
Explore a full code sample on GitHub.
Import#
After adding the IMGLYUI Swift Package to your app. You can get started right away by importing the editor module into your own code.
Initialization#
The editor is initialized with EngineSettings
which are used to initialize the underlying Engine.
The license key that you received from IMG.LY is the only required parameter.
Additionally, you should provide an optional unique ID tied to your application's user. This helps us accurately calculate monthly active users (MAU) and it is especially useful when one person uses the app on multiple devices with a sign-in feature, ensuring they're counted once.
For more details on how to configure the editor, visit the configuration page.
Presentation#
In this integration example the editor is presented as a modal view after tapping a button.
Check out the quickstart page for details on the expected environment for the editor and the ModalEditor
helper.