From 7d734802fc824523a884ca177129f2969c1e67e4 Mon Sep 17 00:00:00 2001 From: Jim Fisher Date: Wed, 30 Mar 2022 17:19:05 +0100 Subject: [PATCH] docs: explain why video has gray borders --- docs/src/videos.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/videos.md b/docs/src/videos.md index 1ef10ff2e5..560e3d651d 100644 --- a/docs/src/videos.md +++ b/docs/src/videos.md @@ -41,7 +41,7 @@ var context = await browser.NewContextAsync(new BrowserNewContextOptions await context.CloseAsync(); ``` -You can also specify video size, it defaults to viewport size scaled down to fit 800x800. +You can also specify video size. The video size defaults to the viewport size scaled down to fit 800x800. The video of the viewport is placed in the top-left corner of the output video, scaled down to fit if necessary. You may need to set the viewport size to match your desired video size. ```js const context = await browser.newContext({