> For the complete documentation index, see [llms.txt](https://axongenesis.gitbook.io/timeflow/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://axongenesis.gitbook.io/timeflow/reference/behaviors/tools/video-player-update.md).

# Video Player Update

Apply this behavior to any [Video Player](https://docs.unity3d.com/Manual/class-VideoPlayer.html) to synchronize it with Timeflow. This starts and stops the video along with Timeflow playback and includes additional timing options.

{% hint style="success" %}
Right-click an object in the Timeflow view and select:\
**Add Tool > Video Player Update**
{% endhint %}

{% hint style="info" %}
Note that this component is not required to use Video Players in your scene, however it is required if you wish to sequence and synchronize them using Timeflow. When applied, Play On Awake is automatically disabled so that it can be controlled by this component.
{% endhint %}

## Start At Time in Video

If you wish to queue the video to begin at a specific time (in the video), enter the time in seconds here. This value cannot be less than 0. Also note that when loop is enabled, the video also restarts at this time, skipping the beginning.

{% hint style="info" %}
If you wish to start the video later or earlier in time *relative to the scene time*, see using [Time Offset ](#time-offset)below.
{% endhint %}

## Loop

This is the same as the Loop toggle in the Video Player settings. It simply determines whether the video plays on repeat or just once.&#x20;

If loop is disabled, the video only starts rendering at its starting point in the timeline. The video ends and stops rendering altogether once it reaches the end of the video file, or the end of the object track section, whichever comes first.

If loop is enabled, the video plays indefinitely. If the object track is set to [Auto Full Length](/timeflow/user-guide/timeflow-view/tracks.md#auto-full-length) then the video will always render, otherwise it will only render during active track sections.

## Time Offset

As with any object in Timeflow, you can use [Time Offset](/timeflow/user-guide/timeflow-view/time-offset.md) to shift the object forward or backward in time. This can be used to sequence Video Player objects and may be used in conjunction with tracks to control when a video starts and ends playback. Note that the video is only rendered during active track sections.

<figure><img src="/files/EBlVMFwssupCwOPdyqUz" alt=""><figcaption><p>An example showing the use of <a href="/pages/4rp2oKPO88eJu50r6nW0">Time Offset</a> and tracks to sequence videos.</p></figcaption></figure>

{% hint style="success" %}
Please refer to the example scene provided in:

Assets/AxonGenesis/Timeflow/Examples/Scenes/Tools/VideoPlayerUpdate.unity
{% endhint %}

{% hint style="warning" %}
To view video playback, please enter play mode. Also note that the video API has limitations and Timeflow cannot guarantee precise synchronization nor frame-by-frame control.  Video codec and platform may also affect performance. Refer to the Unity documentation on video compatibility here:

<https://docs.unity3d.com/Manual/VideoSources-FileCompatibility.html>
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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://axongenesis.gitbook.io/timeflow/reference/behaviors/tools/video-player-update.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.
