'Capture frames from video using react-typescript

I want to capture frames from React-player, I see the way to do this with captureVideoFrame but I use TypScript, and it is not supported in the library,

May you please give me a few hints or suggestions?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source