videojs-record icon indicating copy to clipboard operation
videojs-record copied to clipboard

Supported new mode: SCREEN_ANIMATION

Open mayank1513 opened this issue 3 years ago • 4 comments

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.

mayank1513 avatar Dec 24 '20 06:12 mayank1513

Coverage Status

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

coveralls avatar Dec 24 '20 06:12 coveralls

Hi,

I will do it as soon as possible. and also respond to your other email regarding the issue as soon as possible. Little busy today.

Mayank Kumar Chaudhari

On Sat, Dec 26, 2020 at 10:24 PM Thijs Triemstra [email protected] wrote:

@thijstriemstra commented on this pull request.

In package-lock.json https://github.com/collab-project/videojs-record/pull/531#discussion_r549010488 :

@@ -2592,9 +2592,9 @@ "dev": true

can you revert the changes to package-lock.json as well

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/collab-project/videojs-record/pull/531#pullrequestreview-558882557, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGCR4VJYU6KS5L5MFHJM5BDSWYIKZANCNFSM4VH3VP5Q .

mayank1513 avatar Dec 27 '20 04:12 mayank1513

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

mayank1513 avatar Jan 03 '21 02:01 mayank1513

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?

thijstriemstra avatar Feb 01 '21 20:02 thijstriemstra