Source.fromVideo constructor

Source.fromVideo(
  1. String source
)

Creates a new source from a video. The source should be pointing to a valid video file.

Implementation

Source.fromVideo(this.source) : _type = "video";