Skip to main content

overwolf.windows.mediaplayerelement.setStretchMode

Overwolf APIs / overwolf / overwolf / windows / mediaPlayerElement / setStretchMode

function setStretchMode(
id: number,
stretchMode: any,
callback: CallbackFunction<Result>,
): void;

Sets the stretch mode of the player.

Parameters

ParameterTypeDescription
idnumberThe id of the media player.
stretchModeanyThe desired stretch mode, see
callbackCallbackFunction<Result>A callback function which will be called with the status of the request.

Returns

void