Skip to content

Commit

Permalink
Fix preserveDrawingBuffer documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
phoboslab committed Jan 9, 2017
1 parent 6a32d86 commit a0c96c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a0c96c2

Please sign in to comment.