Version: 2017.3
public double length ;

Description

The length of the video clip in seconds. (Read Only).

Note that the length returned can be inaccurate as the external encoder can be imprecise. Use VideoPlayer.frameCount and VideoPlayer.frameRate to get adjusted values that are more accurate.