QMediaLight Movie preview, poster, and pict commands

QM_GetPreviewTime

QM_GetPreviewTime(movieRef; previewStart; previewDuration):error
movieRef Longint Movie reference
previewStart Longint Preview start point
previewDuration Longint Preview duration
error Longint Error result

Returns the preview time of a movie.

Parameter movieRef is the reference to the movie instance. The movie reference must have been previously obtained with a call to QM_NewMovieFromFile or QM_NewMovieFromURL.

Parameter previewStart receives the starting point of the movie's preview.

Parameter previewDuration receives the duration of the movie's preview.

Both previewStart and previewDuration are expressed in the movie's time scale.

Example

  `Get the preview time of movie $movieRef
 
C_LONGINT($previewStart;$previewDuration)
 
$error:=QM_GetPreviewTime ($movieRef;$previewStart;$previewDuration)
 

QMediaLight © Escape OE
Generated by QDoc 2.8 on Thu, Oct 8, 2009 18:08:42