Sfoglia il codice sorgente

Fix preserveDrawingBuffer documentation

Dominic Szablewski 9 anni fa
parent
commit
a0c96c2b2e
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      README.md

+ 1 - 1
README.md Vedi File

26
 - `autoplay` whether playback should start automatically after loading
26
 - `autoplay` whether playback should start automatically after loading
27
 - `loop` whether playback is looped
27
 - `loop` whether playback is looped
28
 - `seekable` whether a seek-index is build during load time; neccessary for `seekToFrame` and `seekToTime` methods
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
 - `onload` a function that's called once, after the .mpg file has been completely loaded
30
 - `onload` a function that's called once, after the .mpg file has been completely loaded
31
 - `ondecodeframe` a function that's called after every frame that's decoded and rendered to the canvas
31
 - `ondecodeframe` a function that's called after every frame that's decoded and rendered to the canvas
32
 - `onfinished` a function that's called when playback ends
32
 - `onfinished` a function that's called when playback ends