How to prevent screen recording on a website
Websites can't block or detect screen recording. How web lectures leak, why common web protections fall short, and what to ask your platform.
On this page 10 sections
- Can a website block screen recording?
- What browsers expose, and what they hide
- How web lectures leak
- Why common web protections fall short
- Protected playback and black screens
- What to watch out for in vendor claims
- When the browser isn't the right place for paid lectures
- Questions to ask your platform
- Key takeaways
- Frequently asked questions
You can't reliably prevent screen recording on a website. Browsers give web pages no way to block, or even detect, recording done by the operating system or by a separate program, and the one partial exception, protected video that records as black, works only on some devices and browsers. For an institute, the useful questions are how web lectures leak, why common web "protections" fall short, and when paid lectures shouldn't be in a browser at all.
Can a website block screen recording?
No. A screen recorder runs outside the browser, at the level of the operating system, and captures whatever the display shows. The web page is one of many things on that display, and the browser deliberately doesn't tell pages what other software is running. That is a privacy protection: a site that could list your programs could also fingerprint and track you.
So when a vendor says its web player "disables screen recording", ask what exactly happens on a Windows laptop running a free recorder. The honest answers are "the video area records as black on some devices" or "the recording shows the student's name", not "recording is impossible".
What browsers expose, and what they hide
- Screen sharing is opt-in and one-way. The web's screen-capture standard lets a page ask the user to share their screen, for example in a video call. It covers captures the page starts itself, with permission, and tells the page nothing about other recorders. See the W3C Screen Capture specification.
- A page can tell when its tab is hidden, for example when the student switches tabs. A screen recorder doesn't hide the tab, so this says nothing about recording.
- A page can't see other programs, so it can't tell whether a recorder is running.
- A page can't opt out of recordings. Unlike an Android app, a web page has no way to ask to be left out of a screen recording.
How web lectures leak
- Screen recorders on laptops and desktops, which capture whatever the display shows.
- A second phone pointed at the screen.
- Download tools and browser extensions that save the video itself when the stream isn't properly protected.
- Old or forgotten links to video files that still work long after a course has moved on.
- Shared logins, so one paid account plays in several hostels at once. Our guide to how shared logins spread covers this.
- Screen sharing, where a student plays the lecture and shares their screen with friends on a video call.
Why common web protections fall short
| Common measure | What it does | Why it falls short |
|---|---|---|
| Disabling right-click and keyboard shortcuts | Hides the browser's menu and some shortcuts | Recorders and download tools don't need either |
| Hiding the video link | Makes the file harder to find | Whoever can play the video can usually work out where it comes from |
| Tab-switch and focus checks | Notices when the student leaves the page | Recording doesn't leave the page, and innocent actions trigger the check |
| Protected video playback | Can make the video record as black | Only on some devices and browsers, and never against a camera |
| A visible watermark | Puts the student's details on the video | Can be cropped, covered or compressed into illegibility, and doesn't stop recording |
Checks such as tab-switch detection also misfire. A student who switches to their notes or answers a WhatsApp message looks the same as one doing something wrong, so automatic punishments based on them mostly annoy honest students.
Protected playback and black screens
The one browser-level defence against capture comes from the video path, not from the page. Browsers talk to DRM systems through Encrypted Media Extensions (EME), a W3C standard. On devices where the DRM system can play video inside protected hardware, the operating system keeps that video out of screen recordings, and the recording shows a black rectangle where the video should be, while the rest of the page records normally.
The catch is that this depends on the device, the browser and the operating system, so black screens can't be promised to every student, and a phone camera still records everything. Our explainer on why protected video records as a black screen covers the details, and why DRM alone can't stop piracy covers what it misses.
What to watch out for in vendor claims
- "Our web player disables screen recording." No web player can promise that on every device.
- "We detect screen recorders in the browser." Browsers don't expose that; ask what is actually detected and how often it's wrong.
- Demos on a single phone or browser, never on a Windows laptop or a Mac.
- Black screens promised to every student, whatever their device.
- No clear answer on whether the video files can be downloaded directly.
When the browser isn't the right place for paid lectures
Apps can use operating-system controls that web pages can't, though each has limits of its own:
| Platform | Can it block capture? | Can it detect capture? |
|---|---|---|
| Website in a browser | No, except black video from protected playback on some devices | No reliable way |
| Android app | Yes, for its own screens | Screenshots from Android 14, recordings from Android 15 |
| iPhone and iPad app | No general way | Yes: apps are told when the screen is recorded or mirrored |
| Windows app | Can ask to be left out of standard capture tools | Partly |
| macOS app | No supported general way, except protected video | Partly |
Our guides to what FLAG_SECURE can't stop, iOS screen recording detection and screen capture on Windows and Mac cover each platform's gaps. None of them stops a second phone pointed at the screen.
Questions to ask your platform
- What does a screen recording of your web player show on a Windows laptop, a Mac and a phone's browser? Ask for the recordings, not a description.
- Does every web stream carry the student's details, including in full screen?
- Can anyone download the video files directly, from the site or from old links?
- How many devices and simultaneous streams can one account use?
- What does the web player check for, and what happens to the student when a check fires?
- Can premium lectures be limited to your apps on Android, iOS, Windows and macOS?
Key takeaways
- No website can block or reliably detect screen recording done outside the browser.
- Protected playback can turn the video black in recordings, but only on some devices and browsers.
- Right-click blocking, hidden links and tab-switch checks fall short, and the checks misfire on honest students.
- Visible watermarks label recordings but can be attacked, and shared logins bypass every browser measure.
- For your most valuable lectures, the browser is the weakest place to be.
VidSafe, the video protection built by Upclass, combines VidSafe proprietary encryption, dynamic watermarking, screen- and camera-recording detection and account-sharing prevention. Its visible and invisible watermarks are extremely hard to remove, even after heavy re-encoding, so a leaked copy can be traced back to the account it came from. See the LMS for coaching institutes page.
Frequently asked questions
Can any website detect screen recording?
No standard web technology lets a website detect screen recording done by the operating system or a separate program. A page only knows about captures it starts itself, when the user agrees to share their screen. Some sites watch indirect signals, such as the tab losing focus, but those also fire in innocent situations, so they can't prove that anyone is recording.
Can websites know if you screen record?
Generally, no. A website can't see other programs on your device, including screen recorders. What some streaming sites do instead is play video through protected playback, so on certain devices the video area records as black without the site knowing anything. Course sites often add a watermark with the viewer's identity, so a recording can be traced even though it wasn't detected.
Can websites detect OBS screen recording?
No. OBS and similar recorders capture the screen at the operating-system level, and browsers don't let web pages see which programs are running. A page may notice indirect effects, such as losing focus, but nothing that identifies a recorder or proves a recording. On some devices protected video appears black in such captures because of the playback path, not because the website detected anything.