-
Notifications
You must be signed in to change notification settings - Fork 301
Add ability to record videos & screenshots directly in Oni #416
Comments
Gif shot looks like a cool library for this |
Testing using |
* Some initial tests * Bump version of Electron to 1.8.1 to pick up chromium bug fixes around getUserMedia * Add gifshot dependency * Clamp gifshot dependency * Start integrating gifshot * Add helper script to convert web m to gif * Latest tweaks for gif recording * Add isRecording property * Add unique file names for each recording * Remove gifshot and minor code tweaks * Remove gifshot references * Some cleanup + refactoring * Get akeScreenshot writing out PNG buffer * Use recorder.outputPath configuration * Set up copyScreenshotToClipboard setting * Update to always save, and then copy to clipboard * Fix set of lint issues * Fix remaining lint issues
Will you be creating an animated gif demonstrating this behavior for the README/wiki ? |
Yep, I'll add something in Wiki (in the configuration section). I was thinking of adding a "Tips" or "Recipes" section, and show how to bind a key to take a screenshot. I'm planning on pushing a new release out Monday as well - so I'll call out it there in the release notes too. |
I'll also add some documentation around these new APIs: And new configuration options: |
Added some API documentation here: And an example of binding a key to use the |
I'll close this out, but the documentation is still pretty rough (and it would be nice to have some examples or tips/tricks) |
Based on the Electron desktopCapture APIs, and gif creation libraries, it should be relatively straightforward to add the ability within Oni to capture animated gifs. This would be really nice for bug repros, and to leverage with Spectron/automation to create the demo gifs automatically.
The text was updated successfully, but these errors were encountered: