Version: 2017.2
public double length ;

説明

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.