MRVideoEntity

MRVideoEntity ⇐ MRMediaEntity

Base html video represented in 3D space. mr-video

Kind: global class
Extends: MRMediaEntity

mrVideoEntity.MRVideoEntity

Kind: instance class of MRVideoEntity

new exports.MRVideoEntity()

Constructs a base video entity using a UIPlane and other 3D elements as necessary.

mrVideoEntity.connected()

Callback function of MREntity - handles setting up this video and associated 3D geometry style (from css) once it is connected to run as an entity component.

Kind: instance method of MRVideoEntity

mrVideoEntity.play()

Plays the video in the shadow root

Kind: instance method of MRVideoEntity

mrVideoEntity.pause()

Pauses the video in the shadow root

Kind: instance method of MRVideoEntity