Skip to content

Electron Video and Audio Timeline Editor

CE.SDK Video Mode allows your users to edit videos in a manner familiar from popular platforms such as TikTok or Instagram. The CE.SDK editor contains a full-featured video editor, complete with Video and Audio trimming, and composition capabilities. Get to know the core concepts in this guide.

To learn about the available API calls related to video editing, see the engine guide on video editing.

To learn about the Video Editor UI, skip to the UI overview.

A Note on Browser Support

Video mode heavily relies on modern features like web codecs. A detailed list of supported browser versions can be found in our Supported Browsers. Please also take note of possible restrictions based on the host platform browsers are running on.

UI Overview

Timeline

The editor timeline control.

The timeline is the main control for video editing. It is here that clips and audio strips can be positioned in time. The timeline is divided into two main areas:

Foreground

Clips run along the top of the foreground timeline, while audio strips run along the bottom. Click anywhere inside the timeline to set the playback time, or drag the seeker directly. Use the Split Clip button to split the clips into two at the position of the seeker. The zoom controls allow you to zoom the timeline in and out for better control. Finally, Use the Play and Loop buttons to view the final result.

  • Drag either of the strip handles to adjust start and end time of a clip.
  • Drag the center of the strip to position the clip.
  • Drag the center of the strip to rearrange the clips.
  • Use the context menu on the strip to perform specific actions on the clip.

Background

Background clips go at the bottom of the timeline and define the length of the video. Background clips are typically videos and images, but can be configured to support other types of elements as well. They are packed against each other and can’t have time gaps in between, and they define the length of the exported video.

  • Drag either of the strip handles to adjust start and end time of a clip.
  • Drag the center of the strip to rearrange the clips.
  • Use the context menu on the strip to perform specific actions on the clip.

Video

Videos are handled in a similar fashion to regular elements: You can add them via the Asset Library and position them anywhere on the page. You can select a specific section of video to play by trimming the clip on the timeline and/or using the trim controls (pictured below), accessible by pressing the trim button.

Trimming videos

The trim controls for video.

Trim controls will appear near the top of the editor window.

  • While these controls are open, only the selected video is played during seeking or playback.
  • You can adjust the start and end time by dragging the handles on either side of the strip.
  • The grayed-out area indicates the parts of the video that won’t be shown.
  • The blue overlay indicates the end of the page duration - to show these parts of the video, extend the duration of the containing page.

Audio

A timeline containing audio strips.

Unlike regular design elements, audio is not visible on the canvas. It is only shown in the timeline, as audio strips. Use the timeline to edit audio:

  • Drag either of the strip handles to adjust start and end time of the audio strip.
  • Drag the center of the strip to position the strip.
  • Drag the center of the strip to rearrange the audio stipes.
  • Use the context menu on the strip to perform specific actions on the audio strip.

Trimming audio

The trim controls for audio.

Trimming audio works just like trimming video.