getVideoDuration

public static int getVideoDuration(Context context, String videoPath)

Gets the duration of a video file in milliseconds