Presentation APILimited availability
The Presentation API shows or controls content on another display, such as a network-connected TV or projector.
Not yet supported in all major browsers — check the table and provide a fallback.
Browser support
DesktopChrome
1–46Not supported
47+Supportedsince Dec 1, 2015
Current: 155Edge
12–18Not supported
79+Supportedsince Jan 15, 2020
Current: 154Firefox
✕Not supportedup to 157
Current: 157Safari
✕Not supportedup to 27
Current: 27MobileChrome Android
18–46Not supported
47+Supportedsince Dec 2, 2015
Current: 155Firefox Android
✕Not supportedup to 157
Current: 157Safari iOS
✕Not supportedup to 27
Current: 27How to use
Not supported in Firefox, Safari, Firefox Android, Safari iOS. Use feature detection below and provide a fallback (or a polyfill) for those browsers.
Example
Full syntax and examples are on MDN: presentation.
Feature detection
JS · check before using
if ("Presentation" in globalThis) {
// Presentation is available
} else {
// load a polyfill or use a fallback
}Sub-features
Support for each part of the feature (39). The overall table above shows when the whole feature works.
| Sub-feature | Chrome | Edge | Firefox | Safari | Chrome Android | Firefox Android | Safari iOS |
|---|---|---|---|---|---|---|---|
| Navigator.presentation | 47 | 79 | ✕ | ✕ | 47 | ✕ | ✕ |
| Presentation | 47 | 79 | ✕ | ✕ | 47 | ✕ | ✕ |
| Presentation.defaultRequest | 47 | 79 | ✕ | ✕ | 47 | ✕ | ✕ |
| Presentation.receiver | 59 | 79 | ✕ | ✕ | 59 | ✕ | ✕ |
| PresentationAvailability | 47 | 79 | ✕ | ✕ | 47 | ✕ | ✕ |
| PresentationAvailability.change_event | 47 | 79 | ✕ | ✕ | 47 | ✕ | ✕ |
| PresentationAvailability.value | 47 | 79 | ✕ | ✕ | 47 | ✕ | ✕ |
| PresentationConnection | 47 | 79 | ✕ | ✕ | 47 | ✕ | ✕ |
| PresentationConnection.binaryType | 47 | 79 | ✕ | ✕ | 47 | ✕ | ✕ |
| PresentationConnection.close | 49 | 79 | ✕ | ✕ | 49 | ✕ | ✕ |
| PresentationConnection.close_event | 50 | 79 | ✕ | ✕ | 50 | ✕ | ✕ |
| PresentationConnection.connect_event | 50 | 79 | ✕ | ✕ | 50 | ✕ | ✕ |
| PresentationConnection.id | 47 | 79 | ✕ | ✕ | 47 | ✕ | ✕ |
| PresentationConnection.message_event | 47 | 79 | ✕ | ✕ | 47 | ✕ | ✕ |
| PresentationConnection.send | 47 | 79 | ✕ | ✕ | 47 | ✕ | ✕ |
| PresentationConnection.state | 47 | 79 | ✕ | ✕ | 47 | ✕ | ✕ |
| PresentationConnection.terminate | 48 | 79 | ✕ | ✕ | 48 | ✕ | ✕ |
| PresentationConnection.terminate_event | 50 | 79 | ✕ | ✕ | 50 | ✕ | ✕ |
| PresentationConnection.url | 57 | 79 | ✕ | ✕ | 57 | ✕ | ✕ |
| PresentationConnectionAvailableEvent | 47 | 79 | ✕ | ✕ | 47 | ✕ | ✕ |
Show 19 more
| Sub-feature | Chrome | Edge | Firefox | Safari | Chrome Android | Firefox Android | Safari iOS |
|---|---|---|---|---|---|---|---|
| PresentationConnectionAvailableEvent.PresentationConnectionAvailableEvent | 47 | 79 | ✕ | ✕ | 47 | ✕ | ✕ |
| PresentationConnectionAvailableEvent.connection | 47 | 79 | ✕ | ✕ | 47 | ✕ | ✕ |
| PresentationConnectionCloseEvent | 50 | 79 | ✕ | ✕ | 50 | ✕ | ✕ |
| PresentationConnectionCloseEvent.PresentationConnectionCloseEvent | 50 | 79 | ✕ | ✕ | 50 | ✕ | ✕ |
| PresentationConnectionCloseEvent.message | 50 | 79 | ✕ | ✕ | 50 | ✕ | ✕ |
| PresentationConnectionCloseEvent.reason | 50 | 79 | ✕ | ✕ | 50 | ✕ | ✕ |
| PresentationConnectionList | 59 | 79 | ✕ | ✕ | 59 | ✕ | ✕ |
| PresentationConnectionList.connectionavailable_event | 59 | 79 | ✕ | ✕ | 59 | ✕ | ✕ |
| PresentationConnectionList.connections | 59 | 79 | ✕ | ✕ | 59 | ✕ | ✕ |
| PresentationReceiver | 59 | 79 | ✕ | ✕ | 59 | ✕ | ✕ |
| PresentationReceiver.connectionList | 59 | 79 | ✕ | ✕ | 59 | ✕ | ✕ |
| PresentationRequest | 47 | 79 | ✕ | ✕ | 47 | ✕ | ✕ |
| PresentationRequest.PresentationRequest | 47 | 79 | ✕ | ✕ | 47 | ✕ | ✕ |
| PresentationRequest.connectionavailable_event | 47 | 79 | ✕ | ✕ | 47 | ✕ | ✕ |
| PresentationRequest.getAvailability | 47 | 79 | ✕ | ✕ | 47 | ✕ | ✕ |
| PresentationRequest.reconnect | 47 | 79 | ✕ | ✕ | 47 | ✕ | ✕ |
| PresentationRequest.secure_context_required | 61 | 79 | ✕ | ✕ | 61 | ✕ | ✕ |
| PresentationRequest.start | 47 | 79 | ✕ | ✕ | 47 | ✕ | ✕ |
| iframe.sandbox.allow-presentation | 53 | 79 | 50 | ✕ | 53 | 50 | ✕ |