docs: fix screencast links (#11106)

This commit is contained in:
Nikolay Vitkov 2023-10-09 17:43:54 +02:00 committed by GitHub
parent 6098bab2ba
commit 067a5b2900
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 6 deletions

View File

@ -26,9 +26,9 @@ Promise<[ScreenRecorder](./puppeteer.screenrecorder.md)>
## Remarks ## Remarks
All recordings will be \[WebM\](https://www.webmproject.org/) format using the \[VP9\](https://www.webmproject.org/vp9/) video codec. The FPS is 30. All recordings will be [WebM](https://www.webmproject.org/) format using the [VP9](https://www.webmproject.org/vp9/) video codec. The FPS is 30.
You must have \[ffmpeg\](https://ffmpeg.org/) installed on your system. You must have [ffmpeg](https://ffmpeg.org/) installed on your system.
## Example ## Example

View File

@ -2317,12 +2317,15 @@ export abstract class Page extends EventEmitter<PageEvents> {
/** /**
* Captures a screencast of this {@link Page | page}. * Captures a screencast of this {@link Page | page}.
* *
* @remarks All recordings will be [WebM](https://www.webmproject.org/) format using * @remarks
* the [VP9](https://www.webmproject.org/vp9/) video codec. The FPS is 30.
* *
* You must have [ffmpeg](https://ffmpeg.org/) installed on your system. * All recordings will be {@link https://www.webmproject.org/ | WebM} format using
* the {@link https://www.webmproject.org/vp9/ | VP9} video codec. The FPS is 30.
* *
* @example Recording a {@link Page | page}: * You must have {@link https://ffmpeg.org/ | ffmpeg} installed on your system.
*
* @example
* Recording a {@link Page | page}:
* *
* ``` * ```
* import puppeteer from 'puppeteer'; * import puppeteer from 'puppeteer';