Просмотр исходного кода

Fix preserveDrawingBuffer documentation

Dominic Szablewski 9 лет назад
Родитель
Сommit
a0c96c2b2e
1 измененных файлов: 1 добавлений и 1 удалений
  1. 1 1
      README.md

+ 1 - 1
README.md Просмотреть файл

@@ -26,7 +26,7 @@ The `options` argument to the `jsmpeg()` supports the following properties:
26 26
 - `autoplay` whether playback should start automatically after loading
27 27
 - `loop` whether playback is looped
28 28
 - `seekable` whether a seek-index is build during load time; neccessary for `seekToFrame` and `seekToTime` methods
29
-- `progressiveThrottled` whether to throttle downloading chunks until they're needed for playback. Requires `progressive`; default `false`.
29
+- `preserveDrawingBuffer` whether the WebGL context is created with preserveDrawingBuffer - necessary for "screenshots" via `canvas.toDataURL()`; default `false`.
30 30
 - `onload` a function that's called once, after the .mpg file has been completely loaded
31 31
 - `ondecodeframe` a function that's called after every frame that's decoded and rendered to the canvas
32 32
 - `onfinished` a function that's called when playback ends