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
| Parameter | Type | Description |
|---|---|---|
id | number | The id of the player. |
speedRatio | number | The speed ratio of the playback. A double between 0 and 16 (inclusive). |
callback | CallbackFunction<Result> | A callback function which will be called with the status of the request. |
Returns
void