Open topic with navigation
<multimedia:av>.setTime
This will set the current position of the multimedia file
<multimedia:av>.setTime( |
|
time |
) |
|
time
The amount of seconds from the beginning of the file to jump to.
Remarks
This will set the current position of the audio or video file to the specified number of seconds from the beginning.
Return Value
None
Example
song = viz.addAudio('music.mp3')
song.setTime(5)
song.play() # This start playing 5 seconds into the song
See also