duration method

num duration()

Returns the duration of the video in seconds. This will return 0 until video.hasData() is true.

Implementation

num duration() => _callMethod('duration()');