Component:VideoExportable: Difference between revisions

From Resonite Wiki
Automated: update component fields
Added a description, field description, and usage description.
Line 7: Line 7:
|Name=Video Exportable
|Name=Video Exportable
}}
}}
The '''VideoExportable''' component is used to export a [[Type:VideoTexture|Video Texture]] as a video file for your device.
To export using this component, look at the [[File Browser#Importing And Exporting|file browser export section]].


<!--T:2-->
<!--T:2-->
== Fields ==
== Fields ==
{{Table ComponentFields
{{Table ComponentFields
|Video|{{RootFieldType|AssetRef`1|[[Type:VideoTexture|VideoTexture]]}}|TypeAdv0=true|
|Video|{{RootFieldType|AssetRef`1|[[Type:VideoTexture|VideoTexture]]}}|TypeAdv0=true| The video to be exported.
}}
}}


<!--T:3-->
<!--T:3-->
== Usage ==
== Usage ==
Using this will allow you to export videos. However, only some types of videos can be exported. Videos that were imported from a computer can be exported (<code>.mp3</code> and <code>.mp4</code> file types). Videos that seem to fail the exporting process are Youtube videos or streaming videos, as they not only fail to export a video file, they instead export a text file (which seems to be html).


<!--T:4-->
<!--T:4-->

Revision as of 04:00, 7 July 2024


This article or section is a Stub. You can help the Resonite Wiki by expanding it.


Component image 
Video Exportable component as seen in the Scene Inspector


The VideoExportable component is used to export a Video Texture as a video file for your device.

To export using this component, look at the file browser export section.

Fields

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.
Video VideoTexture The video to be exported.

Usage

Using this will allow you to export videos. However, only some types of videos can be exported. Videos that were imported from a computer can be exported (.mp3 and .mp4 file types). Videos that seem to fail the exporting process are Youtube videos or streaming videos, as they not only fail to export a video file, they instead export a text file (which seems to be html).

Examples

Related Components