Skip to main content

overwolf.windows.mediaplayerelement.setPlaybackSpeed

Overwolf APIs / overwolf / overwolf / windows / mediaPlayerElement / setPlaybackSpeed

function setPlaybackSpeed(
id: number,
speedRatio: number,
callback: CallbackFunction<Result>,
): void;

Sets the speed ratio of the playback.

Parameters

ParameterTypeDescription
idnumberThe id of the player.
speedRationumberThe speed ratio of the playback. A double between 0 and 16 (inclusive).
callbackCallbackFunction<Result>A callback function which will be called with the status of the request.

Returns

void