Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,12 @@ class _HomePageState extends State<HomePage> {
// 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
Expand Down