Commit 0528f21d authored by Slava Istomin's avatar Slava Istomin
Browse files

a page with video element displaying captured display video.

parent ff851d5f
Pipeline #12513 passed with stages
in 13 seconds
<!DOCTYPE html>
<html lang="en">
<meta charset="UTF-8">
<video src=""></video>
let video = document.querySelector('video')
let mediaStream = await navigator.mediaDevices.getDisplayMedia()
video.srcObject = mediaStream
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment