VIDEO.PlaySpeed

Previous  Next

 

speed = VIDEO.PlaySpeed( nControl AS INTEGER,

                         speed    AS REAL ) AS REAL

 

 

 

 

Sets or gets the speed of the video replay.  Speed can be from 1 to 10.  Here are some constants that have been defined

 

' Play Speeds (can be between 1 and 10)

CONST MT_Very_Slow         = 1

CONST MT_Slower            = 3

CONST MT_Slow              = 6

CONST MT_Normal            = 8

CONST MT_Fast              = 9

CONST MT_Very_Fast         = 10

 

Example:

 

VIDEO.PlaySpeed( nControl, MT_Fast )

VIDEO.Play( nControl, MD_Forward )

' Wait until done

CALL WaitKey

VIDEO.Play( nControl, MD_Stop )