From a0c96c2b2e93b9fbb33b47a728cb9d9cb0c50e78 Mon Sep 17 00:00:00 2001 From: Dominic Szablewski Date: Mon, 9 Jan 2017 11:02:49 +0100 Subject: [PATCH] Fix preserveDrawingBuffer documentation --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 031cd291..f036f3dc 100755 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ The `options` argument to the `jsmpeg()` supports the following properties: - `autoplay` whether playback should start automatically after loading - `loop` whether playback is looped - `seekable` whether a seek-index is build during load time; neccessary for `seekToFrame` and `seekToTime` methods -- `progressiveThrottled` whether to throttle downloading chunks until they're needed for playback. Requires `progressive`; default `false`. +- `preserveDrawingBuffer` whether the WebGL context is created with preserveDrawingBuffer - necessary for "screenshots" via `canvas.toDataURL()`; default `false`. - `onload` a function that's called once, after the .mpg file has been completely loaded - `ondecodeframe` a function that's called after every frame that's decoded and rendered to the canvas - `onfinished` a function that's called when playback ends