Skip to content

VideoSource

A source of data linked to a <video> element.

Instantiation

Martins.Source.Video

Martins.Source.Video(video: HTMLVideoElement): VideoSource

Create a new source of data linked to the provided video.

Arguments

  • video: HTMLVideoElement. A <video> element.

Returns

A new source of data.