getTime

 

Gets the current time in seconds.

If there is no track, the value returned will be 0

getTime()

 

Parameters

none

 

Return Value

number

Returns the current position of playhead represented in seconds.

 

 

See Also

 

Examples

 

var pos = myPlayer.getTime(); // returns a number 12.316