Skip to main content
Language

Deserialization of Video Segments

VideoEditor SDK for React Native 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 videoSize, you need to pass it to the VESDK.openEditor method as the video and videoSize parameters.