Vizard 7 » Command Index » Vizard objects » multimedia » <multimedia:av>.stoptime
7.7

<multimedia:av>.stoptime

This action will set the stop time of the multimedia object

<multimedia:av>.stoptime(  
time  
)  
time
The amount of time in seconds to stop playing.

Remarks

The stoptime is the amount of seconds into the audio or video file that it will stop playing. If a song is 60 seconds long and the stoptime is set to 30 seconds, then the file will stop playing 30 seconds into the song.

Return Value

None

Example

song = viz.addAudio('music.mp3')
song.stoptime(30)
song.play()