# Video Player

### Description

A Video Player [OverNode](/over-sdk-manual/over-visual-scripting-legacy/visual-scripting-essentials/overnode.md) is used to reproduce video clips in-game, by interacting with the Unity3D [VideoPlayer](https://docs.unity3d.com/ScriptReference/Video.VideoPlayer.html) Component.

Content can be either a [VideoClip](https://docs.unity3d.com/ScriptReference/Video.VideoClip.html) imported asset or a URL such as `http://`.

#### Video Player Exposer

This [OverNode](/over-sdk-manual/over-visual-scripting-legacy/visual-scripting-essentials/overnode.md) is used to expose the parameters and attributes of a given input Unity 3D [VideoPlayer](https://docs.unity3d.com/ScriptReference/Video.VideoPlayer.html) component, which are:

<table><thead><tr><th width="205.7659040188865">Name</th><th width="194.3279424240331">Type</th><th width="340.1572968009442">Description</th></tr></thead><tbody><tr><td>Ref</td><td><a href="https://docs.unity3d.com/ScriptReference/Video.VideoPlayer.html">VideoPlayer</a></td><td>A reference of the input Unity3D VideoPlayer Component</td></tr><tr><td>Is Playing</td><td>Boolean</td><td>States if the video is currently playing</td></tr><tr><td>Is Looping</td><td>Boolean</td><td>States if the video is looping itself</td></tr></tbody></table>

<figure><img src="/files/zlcFQg70FOTj0rVh4tEK" alt=""><figcaption></figcaption></figure>

#### Set Video Clip

This [OverNode](/over-sdk-manual/over-visual-scripting-legacy/visual-scripting-essentials/overnode.md) is used to modify an existing Video Node, by setting a new [VideoClip](https://docs.unity3d.com/ScriptReference/Video.VideoClip.html).

This Flow [OverNode](/over-sdk-manual/over-visual-scripting-legacy/visual-scripting-essentials/overnode.md) accepts the following input data:

<table><thead><tr><th width="186.7659040188865">Name</th><th width="192.3279424240331">Type</th><th width="340.1572968009442">Description</th></tr></thead><tbody><tr><td>Video Player</td><td><a href="https://docs.unity3d.com/ScriptReference/Video.VideoPlayer.html">VideoPlayer</a></td><td>A reference of the input Unity3D VideoPlayer Component</td></tr><tr><td>VideoClip</td><td><a href="https://docs.unity3d.com/ScriptReference/Video.VideoClip.html">VideoClip</a></td><td>Video Clip asset to be set.</td></tr></tbody></table>

and produces the following output data:

<table><thead><tr><th width="186.7659040188865">Name</th><th width="207.3279424240331">Type</th><th width="340.1572968009442">Description</th></tr></thead><tbody><tr><td>Player Out</td><td><a href="https://docs.unity3d.com/ScriptReference/Video.VideoPlayer.html">VideoPlayer</a></td><td>A reference of the modified Unity3D VideoPlayer Component</td></tr></tbody></table>

<figure><img src="/files/CsOc8ahdd6LmXRixGys9" alt=""><figcaption></figcaption></figure>

#### Set Video URL

This [OverNode](/over-sdk-manual/over-visual-scripting-legacy/visual-scripting-essentials/overnode.md) is used to modify an existing Video Node, by setting a URL of the video to be played.

This Flow [OverNode](/over-sdk-manual/over-visual-scripting-legacy/visual-scripting-essentials/overnode.md) accepts the following input data:

<table><thead><tr><th width="186.7659040188865">Name</th><th width="175.3279424240331">Type</th><th width="340.1572968009442">Description</th></tr></thead><tbody><tr><td>Video Player</td><td><a href="https://docs.unity3d.com/ScriptReference/Video.VideoPlayer.html">VideoPlayer</a></td><td>A reference of the input Unity3D VideoPlayer Component</td></tr><tr><td>URL</td><td>String</td><td>Video URL</td></tr></tbody></table>

and produces the following output data:

<table><thead><tr><th width="186.7659040188865">Name</th><th width="207.3279424240331">Type</th><th width="340.1572968009442">Description</th></tr></thead><tbody><tr><td>Player Out</td><td><a href="https://docs.unity3d.com/ScriptReference/Video.VideoPlayer.html">VideoPlayer</a></td><td>A reference of the modified Unity3D VideoPlayer Component</td></tr></tbody></table>

<figure><img src="/files/2G0YHaaAyeDfVJXwV28x" alt=""><figcaption></figcaption></figure>

#### Play

This [OverNode](/over-sdk-manual/over-visual-scripting-legacy/visual-scripting-essentials/overnode.md) is used to start playback. It initiates the preparation if not already done, in which case the playback will not start instantly.

This Flow [OverNode](/over-sdk-manual/over-visual-scripting-legacy/visual-scripting-essentials/overnode.md) accepts the following input data:

<table><thead><tr><th width="186.7659040188865">Name</th><th width="195.3279424240331">Type</th><th width="340.1572968009442">Description</th></tr></thead><tbody><tr><td>Video Player</td><td><a href="https://docs.unity3d.com/ScriptReference/Video.VideoPlayer.html">VideoPlayer</a></td><td>A reference of the input Unity3D VideoPlayer Component</td></tr></tbody></table>

<figure><img src="/files/kFt2rS8KNCa5cj7mupAG" alt=""><figcaption></figcaption></figure>

#### Pause

This [OverNode](/over-sdk-manual/over-visual-scripting-legacy/visual-scripting-essentials/overnode.md) is used to pause the playback and leave the current time intact.

This Flow [OverNode](/over-sdk-manual/over-visual-scripting-legacy/visual-scripting-essentials/overnode.md) accepts the following input data:

<table><thead><tr><th width="186.7659040188865">Name</th><th width="196.3279424240331">Type</th><th width="340.1572968009442">Description</th></tr></thead><tbody><tr><td>Video Player</td><td><a href="https://docs.unity3d.com/ScriptReference/Video.VideoPlayer.html">VideoPlayer</a></td><td>A reference of the input Unity3D VideoPlayer Component</td></tr></tbody></table>

<figure><img src="/files/3W9mk8qe9LcclIC2cnPD" alt=""><figcaption></figcaption></figure>

#### Stop

This [OverNode](/over-sdk-manual/over-visual-scripting-legacy/visual-scripting-essentials/overnode.md) is used to stop the playback and sets the current time to 0. This also destroys all internal resources such as textures or buffered content.

This Flow [OverNode](/over-sdk-manual/over-visual-scripting-legacy/visual-scripting-essentials/overnode.md) accepts the following input data:

<table><thead><tr><th width="186.7659040188865">Name</th><th width="196.3279424240331">Type</th><th width="340.1572968009442">Description</th></tr></thead><tbody><tr><td>Video Player</td><td><a href="https://docs.unity3d.com/ScriptReference/Video.VideoPlayer.html">VideoPlayer</a></td><td>A reference of the input Unity3D VideoPlayer Component</td></tr></tbody></table>

<figure><img src="/files/aj0d2M7wW5BPL4P9DSti" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.overthereality.ai/over-sdk-manual/over-visual-scripting-legacy/nodes/components/video-player.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
