Documentation / Node reference / tex nodes
tex/Video
Plays a video file as a texture.
Files
The texture shows the current frame of the video. On desktop it reads MP4 files in H.264 Baseline profile, without sound. In the browser it plays whatever the browser plays.
Parameters
| Name | Type | What it does |
|---|---|---|
| nativePath | AssetPath | Video played on desktop, as a path or a URL. |
| webPath | AssetPath | Video played in the browser, as a path or URL. |
| webPathFallback | AssetPath | Played in the browser when webPath cannot be. |
| loop | Bool | Start again at the end. |
| autoplay | Bool | Play as soon as the video loads. |
| muted | Bool | Play without sound. |
| play | Button | Plays the video. |
| pause | Button | Pauses the video. |
| restart | Button | Plays the video from the start. |
See also
This page is generated from the engine, so it describes the release you can download. The same text is in the editor's Help panel next to the node itself.