Accessor: dashboard/VideoComponent

dashboard/VideoComponent

Implements the UIComponent interface to produce and control a streaming video component. Refer to the documentation of dashboard/UIComponent for more detailed information.

Note the dashboard assumes web components are defined with the special name 'componentName'. It will replace this string before intialization.

Version:
  • $$Id$$
Author:
  • Matt Weber
Source:
Inputs:
Name Type Description
userInput A JSON message produced by the instantiated video web component in the dashboard.
Outputs:
Name Type Description
componentUpdate A websocket message produced upon initialization to send the video component to the dashboard app.
Parameters:
Name Type Description
componentID A unique ID used for communication with the video component.
videoSource URI of the video to be played. This accessor will replace all instances of the special string '__videoSource__' in the video component. Defaults to the URI of the (Creative Commons) Sintel movie trailer.

Members

(inner) videoComponentTimeout

Set up the accessor by defining the inputs and outputs.

Source: