Component:VideoExportable: Difference between revisions

From Resonite Wiki
Automated: update component fields
not a stub. added related and more usage.
 
(One intermediate revision by one other user not shown)
Line 2: Line 2:
<translate>
<translate>
<!--T:1-->
<!--T:1-->
{{stub}}
{{Infobox Component
{{Infobox Component
|Image=VideoExportableComponent.png
|Image=VideoExportableComponent.png
|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 asset to be exported.
}}
}}


Line 17: Line 20:
== Usage ==
== Usage ==


<!--T:4-->
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).
 
{{Template:AssetExportableUsage}}
 
== Examples ==
== Examples ==
{{stub}}
== See Also ==
{{Template:AssetExportableComponents}}


<!--T:5-->
== Related Components ==
</translate>
</translate>
[[Category:ComponentStubs]]
[[Category:Components{{#translation:}}|Video Exportable]]
[[Category:Components{{#translation:}}|Video Exportable]]
[[Category:Components:Assets:Export{{#translation:}}|Video Exportable]]
[[Category:Components:Assets:Export{{#translation:}}|Video Exportable]]

Latest revision as of 17:37, 13 November 2024

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 asset 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).

This component is used mainly to add an export option to the user's context menu as they are holding an item. Which can be used to easily communicate to the user that an item is made for exporting to their local machine. For example, screenshots, figurines, pictures, recorded audio clips, some generated text from protoflux, and Avatars can have Asset exportables like this component to signify that they can be downloaded to one's local storage.

Examples

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


See Also