Returns the number of seconds the video lasts from start to finish. If this returns 0 then call it in a loop with Sync() to wait for the video to finish loading the meta data. If it returns less than 0 then this platform does not support this command or an error occurred. example: duration = GetVideoDuration() if ( duration = 0 ) repeat Sync() duration = GetVideoDuration() until duration != 0 endif
float GetVideoDuration()