Class: VideoPlayerComponent

VideoPlayerComponent(dataObjectopt, optionsopt)

VideoPlayerComponent shows a VideoComponent with play/pause and shuttle controls.

Constructor

new VideoPlayerComponent(dataObjectopt, optionsopt)

Parameters:
Name Type Attributes Default Description
dataObject DataObject <optional>
null
options Object <optional>
null
Properties
Name Type Attributes Default Description
video string <optional>
'' a URL to a video
mimeType string <optional>
'' the MIME type for the video, like 'video/mp4'
Source:

Members

video :HTMLElement

Type:
  • HTMLElement
Source:

Methods

setVideoSource(url, mimeType)

Parameters:
Name Type Description
url string the relative or full URL to the video
mimeType string a mime type like 'video/mp4'
Source: