Video editor plugin

I am using video editor in such a way that
I capture video using media capture plugin then I call video editor plugin using file url provided by media capture.
My intens is to compress video size.
But video editor plugin works only sometime not all the time.
When I used progress to display it in console.log
It gets stop at 0.94(94%)
and neither call success nor call error.
Any idea or any other solution to compress video size.

Why don’t you try changing the video editor app? In my opinion, it might solve a lot of your problems. There are plenty of other apps that are so easy to use. For example, I use Movavi, and I am so happy, as every work of mine is becoming so beautiful due to the tools that are there. You can find it here 15+ Best Screen Recorders for a Mac in 2022 – Movavi and download it to convince yourself how easy and interesting it is to use it. You can screen record, record audio, create screencasts, capture your webcam, show keystrokes and mouse, and so much more.