overwolf.media.replays.addWatermark
Overwolf APIs / overwolf.media.replays / addWatermark
function addWatermark(
sourceVideoUrl: string,
watermarkUrl: string,
watermarkParams: WatermarkParams,
callback: CallbackFunction<FileResult>,
): void;
Adds a video/image watermark to a video.
Parameters
| Parameter | Type | Description |
|---|---|---|
sourceVideoUrl | string | The url of the source video in an overwolf://media form. |
watermarkUrl | string | The url of the watermark video/image in an overwolf://media form. |
watermarkParams | WatermarkParams | Use this object to mark the watermark |
callback | CallbackFunction<FileResult> | A callback function which will be called with the status of the request and the url to the output video. |
Returns
void