đēVideo Player Update
Synchronizes a Video Player with Timeflow
Last updated
Synchronizes a Video Player with Timeflow
Last updated
Apply this behavior to any Video Player to synchronize it with Timeflow. This starts and stops the video along with Timeflow playback and includes additional timing options.
Right-click an object in the Timeflow view and select: Add Tool > Video Player Update
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.
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.
If you wish to start the video later or earlier in time relative to the scene time, see using Time Offset below.
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.
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 then the video will always render, otherwise it will only render during active track sections.
As with any object in Timeflow, you can use Time Offset 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.
Please refer to the example scene provided in:
Assets/AxonGenesis/Timeflow/Examples/Scenes/Tools/VideoPlayerUpdate.unity
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