api.MediaDevices.getDisplayMedia

Spec

MDN URL

Status

On the standards track: Yes

Is Experimental: No

Is Deprecated: No

Browser Support

In Chrome version 72 on 2019-01-29

Not in Chrome Android Note: From Chrome Android 72 to 88, this method was exposed, but always failed with NotAllowedError. See bug 40418135.

In Edge version 79 on 2020-01-15 Note: Available as a member of Navigator instead of MediaDevices.

In Firefox version 66 on 2019-03-19 Note: Since Firefox 33 you can capture screen data using getUserMedia(), with a video constraint called mediaSource. Before 52 it relied on a client-configurable list of allowed sites.

Not in Firefox for Android Note: From Firefox Android 66 to 79, this method was exposed, but always failed with NotAllowedError.

Not in Internet Explorer

Not in Quest Browser Note: From Quest Browser 6.0 to 88, this method was exposed, but always failed with NotAllowedError. See bug 40418135.

In Opera version 60 on 2019-04-09

Not in Opera Android Note: From Opera Android 51 to 88, this method was exposed, but always failed with NotAllowedError. See bug 40418135.

In Safari version 13 on 2019-09-19

Not in Safari on iOS

Not in Samsung Internet Note: From Samsung Internet 11.0 to 88, this method was exposed, but always failed with NotAllowedError. See bug 40418135.

Not in WebView Android Note: From WebView Android 72 to 88, this method was exposed, but always failed with NotAllowedError. See bug 40418135.

Not in WebView on iOS