Video_get_duration - hpgDesigns/hpgdesigns-dev.io GitHub Wiki

Description

Gets the duration of the given video in seconds at the normal playback rate and returns the result.

Parameters

Parameter Data Type Description
id integer index of the video

Return Values

long: Returns the duration of the video in seconds at normal playback rate.

Example Call

// demonstrates obtaining the normal playback rate of a video
var dur;
dur = video_get_duration(myvideo);

NOTOC