Web APIs

Screen Capture API

Checking compatibility...

Capture the user's screen or application windows as a media stream. Perfect for screen sharing, recording, or remote assistance applications.

Basic Screen Capture

Start capturing screen content with just a few lines of code. This example shows how to prompt users to select what they want to share and display the captured video directly in your app.

=
=
=
=
=
=

Output

Click Run to see output...

Advanced Screen Capture

Customize your screen capture with options like showing or hiding the cursor and capturing system audio. This example demonstrates how to create a more polished screen sharing experience with user-configurable settings.

=
=
=
=
=
=

Output

Click Run to see output...