Skip to main content
Language

Deserialization of Video Segments

VideoEditor SDK for Flutter supports serialization and deserialization of the video composition segments, allowing your users to save and revise their work at any time.

Loading a serialization#

To restore a previously saved state, we first need to retrieve the previously saved video segments as well as the video size. For this example, we are using hardcoded placeholder values.

To open the editor with the selected segments and size, you need to use the Video.fromSegments initializer and pass it to the VESDK.openEditor method as the video parameter.