Skip to main content

overwolf.windows.mediaplayerelement.seek

Overwolf APIs / overwolf / overwolf / windows / mediaPlayerElement / seek

function seek(
id: number,
seconds: number,
callback: CallbackFunction<Result>,
): void;

Seeks the current video to the given number of seconds.

Parameters

ParameterTypeDescription
idnumberThe id of the player.
secondsnumberThe numbers of seconds to seek to.
callbackCallbackFunction<Result>A callback function which will be called with the status of the request.

Returns

void