Class: GeoVideo

og/layer/GeoVideo~GeoVideo

Used to load and display a video stream by specific corners coordinates on the globe, implements og.layer.BaseGeoImage interface.

new GeoVideo()

Extends

  • og.layer.BaseGeoImage

Members

protected,constant_animateBoolean

Methods

abstract,protected_createSourceTexture()

Creates or refresh source video GL texture.

abstractabortMaterialLoading(material)

Name Type Description
material og.planetSegment.Material GeoImage material.

abstractloadMaterial(material)

Loads planet segment material. In this case - GeoImage source video.
Name Type Description
material og.planetSegment.Material GeoImage planet material.
Sets video source url path.
Name Type Description
srs String Video url path.

setVideoElement(video)

Sets HTML5 video object.
Name Type Description
video Object HTML5 video element object.

setVisibility(visibility)

Sets layer visibility.
Name Type Description
visibility boolean Layer visibility.