Component image 
Video Player Interface component as seen in the Scene Inspector

The VideoPlayerInterface component is a favoritable item that is used to specify the UI elements of a custom Video Player.
Fields
Name | Type | Description |
---|---|---|
persistent
|
Bool | Determines whether or not this item will be saved to the server. |
UpdateOrder
|
Int | Controls the order in which this component is updated. |
Enabled
|
Bool | Controls whether or not this component is enabled. Some components stop their functionality when this field is disabled, but some don't. |
ItemName
|
IField`1<String> | The name of this favoritable item. |
SpawningUser
|
UserRef | The user that spawned this favoritable item. |
SpawningUserID
|
IField`1<String> | The field containing the ID of the user that spawned this favoritable item. |
IsInstance
|
Bool | Whether this item is an instance. |
URL
|
IField`1<Uri> | The field to fill with the URL of the imported video asset. |
Stream
|
IField`1<Bool> | The field to fill with whether this video player is showing stream. |
VideoClip
|
AssetRef`1<VideoTexture> | The field to fill with what the video being displayed is. |
VideoClipTexture
|
AssetRef`1<ITexture2D> | The field to fill (Usually a material texture field) with the showing video texture. |
AspectRatio
|
IField`1<Float> | The field to fill with what the video's aspect ratio is. |
DefaultVideoClip
|
VideoTexture | The default video texture to use if one isn't filled in. |
StereoRenderingEnabled
|
IField`1<Bool> | The field to fill with whether the video is a stero video (3D) |
StereoLayout
|
IField`1<StereoLayout> | The field to fill with the kind of stero image layout the image has. |
StereoTransformLeft
|
IField`1<Float4> | The field to fill with what the rectangle area for the left eye should be. |
StereoTransformRight
|
IField`1<Float4> | The field to fill with what the rectangle area for the right eye should be. |
StereoTransformScaleLeft
|
IField`1<Float2> | The field to fill with what the UV scale for the left eye should be. |
StereoTransformOffsetLeft
|
IField`1<Float2> | The field to fill with what the UV offset for the left eye should be. |
StereoTransformScaleRight
|
IField`1<Float2> | The field to fill with what the UV scale for the right eye should be. |
StereoTransformOffsetRight
|
IField`1<Float2> | The field to fill with what the UV offset for the right eye should be. |
PanoramicRenderingEnabled
|
IField`1<Bool> | The field to fill with whether the video is a 360 video |
PanoramicHorizontalFOV
|
IField`1<Float> | The field to fill with the video's horizontal 360 video FOV. |
PanoramicVerticalFOV
|
IField`1<Float> | The field to fill with the video's vertical 360 video FOV. |
PanoramicProjection
|
IField`1<PanoramicProjection> | The field to fill with what the video's panoramic texture arrangement is. |
Usage
Use either the existing Resonite video player under Resonite Essentials or make a UI by attaching the component and making one from scratch. Then save the item with this component to the inventory and favorite it so it becomes the default player upon restarting.
Examples
The default Resonite player that is part of the user's default Favorites
See Also
- Favorites
- Component:WorldLoadingProgressInterface
- Component:AudioPlayerInterface
- Component:AudioStreamInterface
- Component:VideoPlayerInterface
- Component:ProgressBarInterface
- Component:NamePlateInterface
- Component:ColorDialogInterface
- Component:NoticeDisplayInterface
- Component:TextDisplayInterface
- Component:HyperlinkDisplayInterface
- Component:DocumentInterface
- Video Player