<multimedia:av>.getTime

This action will return the current position of the multimedia file

 

<multimedia:av>.getTime()

 

Remarks

This will return how many seconds into the audio or video file you are.

Return Value

Current position of audio or video file in seconds

Example

song = viz.addAudio('music.mp3')
song.play()
.
.
.
print 'Playing',song.getTime(),'seconds into the song'

See also

<multimedia:av>.getFrame
<multimedia:av>.setFrame
<multimedia:av>.setTime