Class: MjpegView

OSH.UI. MjpegView

new OSH.UI.MjpegView()

Example

var videoView = new OSH.UI.MjpegView("containerId", {
dataSourceId: datasource.id,
entityId : entity.id,
css: "video",
cssSelected: "video-selected",
name: "Video"
});

Extends

Methods

inherited addViewItem(viewItem)

Add viewItem to the view

Name Type Description
viewItem
Name Type Description
divId

inherited beforeAddingItems(options)

Name Type Description
options

inherited getDataSourcesId(){Array}

Returns:
Type Description
Array

inherited getDivId(){string|*}

Returns:
Type Description
string | *
Returns:
Type Description
string | *

selectDataView($super, dataSourceIds, entityId)

Name Type Description
$super
dataSourceIds
entityId

setData($super, dataSourceId, data)

Name Type Description
$super
dataSourceId
data

Show the view by removing display:none style if any.

Name Type Description
properties
Name Type Description
properties