This is code for a basic implementation of the ScreenCapture and MediaRecorder API's in a Wix site using a custom element.
For information on custom elements in Wix/Velo, see this article to get started.
This Custom Element is a basic implementation of the Screen Capture API and the Media Recorder API. It will allow you to share your screen or window, record the screen, and save the file locally.
This is for educational purposes and not meant to be production ready.