Skip to content

Video_get_duration

hpgDesigns edited this page Aug 8, 2021 · 1 revision

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

This is number 1

Clone this wiki locally