From ed450250f035338c51f06fe9257d64059b4efc41 Mon Sep 17 00:00:00 2001 From: HermanKhodyrevBanubaTechSupport Date: Thu, 23 Jan 2025 18:27:53 +0300 Subject: [PATCH] Enable Editor V2 Example --- example/lib/main.dart | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/example/lib/main.dart b/example/lib/main.dart index d6b7609..32b1b80 100644 --- a/example/lib/main.dart +++ b/example/lib/main.dart @@ -44,8 +44,12 @@ class _HomePageState extends State { // Specify your Config params in the builder below final config = FeaturesConfigBuilder() - // .setAiCaptions(...) - // ... + + // Example of enabling Editor V2 and Video Duration config + + .enableEditorV2(true) + .setVideoDurationConfig(VideoDurationConfig(maxTotalVideoDuration: 180.0, videoDurations: [180.0, 120.0, 60.0, 30.0])) + .setAudioBrowser(AudioBrowser.fromSource(AudioBrowserSource.disabled)) .build(); // Export data example