Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

VideoPlayer.length

public double length;

Description

The length of the VideoClip, or the URL, in seconds. (Read Only)

For URL sources, this will only be set once the source preparation is completed. See VideoPlayer.Prepare.