seek([seconds])

Class: MediaPlayer.

Description:

Sets or gets current playing time in seconds. Decimal points are allowed (e.g. player.seek(165.43); ).

Parameters:

Name Type Description

[seconds]

number

Sets seek time in seconds. Two decimal points allowed for more precision.

Returns:

Returns this component instance.

Type: MediaPlayer