We're looking for a user researcher to understand the needs of developers and designers. Is this you or someone you know? Check out the post: https://mzl.la/2IGzdXS

PresentationRequest.PresentationRequest()

Non-standard
This feature is non-standard and is not on a standards track. Do not use it on production sites facing the Web: it will not work for every user. There may also be large incompatibilities between implementations and the behavior may change in the future.

The PresentationRequest constructor creates a new PresentationRequest object which creates a new PresentationRequest.

Syntax

var presentationRequest = new PresentationRequest(url|urls[])

Parameters

url or urls[]
A URL or array of URLs that are possible URLs used to create, or reconnect, a presentation for the PresentationRequest instance.

Specifications

Specification Status Comment
Presentation API
The definition of 'PresentationRequest' in that specification.
Candidate Recommendation Initial definition.

Browser Compatibility

FeatureChromeEdgeFirefoxInternet ExplorerOperaSafari
Basic support48 ?511 ?35 ?
FeatureAndroid webviewChrome for AndroidEdge mobileFirefox for AndroidOpera AndroidiOS SafariSamsung Internet
Basic support4848 ?51135 ? ?

1. From version 51: this feature is behind the dom.presentation.controller.enabled preference (needs to be set to true). To change preferences in Firefox, visit about:config.

Document Tags and Contributors

Contributors to this page: lucian95, bunnybooboo, jpmedley
Last updated by: lucian95,