Video constructor

Video(
  1. String video
)

Creates a new Video from the given source. The video source should either be a full path, an URI or if it is an asset the relative path as specified in your pubspec.yaml file. Remote resources are not optimized and therefore should be downloaded in advance and then passed to the editor as local resources.

Implementation

Video(String video)
    : _video = video,
      _videos = null,
      _segments = null,
      _size = null;