Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Supported new mode: SCREEN_ANIMATION #531

Closed
wants to merge 0 commits into from

Conversation

mayank1513
Copy link
Contributor

Hi,

I realized that screen could only be captured as video and not as animated gif. Thus, I added a new mode. No changes in the options object.

Earlier, if options object contained animated: true, screen option would be ignored. Now, by default screen is recorded as video but one can override this by adding animation options to turn it into gif.

Hope this helps.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.7%) to 71.875% when pulling 673f3a3 on mayank1513:master into bd39eb8 on collab-project:master.

Copy link
Member

@thijstriemstra thijstriemstra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks! can you revert the whitespace changes in this pull request? and add an entry to the changelog?

src/js/engine/record-mode.js Outdated Show resolved Hide resolved
package-lock.json Outdated Show resolved Hide resolved
@mayank1513
Copy link
Contributor Author

mayank1513 commented Dec 27, 2020 via email

@mayank1513
Copy link
Contributor Author

Hi, sorry for delay. I am not able to create a new pull request now.

@thijstriemstra
Copy link
Member

thanks for the pull request @mayank1513. While it's a good suggestion, I'd rather not expand on the old, buggy gif-recorder currently used in videojs-record to create animated GIFs. I started a new implementation, using gifshot (#292), but ran into other issues and the fact that that library is also not maintained anymore. Eventually we'll find a better implementation but I'm hesitant to build new things on top of the gif-recorder... thoughts?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants