PresentationRequest.start()

This is an experimental technology
Check the Browser compatibility table carefully before using this in production.

The start() property of the PresentationRequest interface returns a Promise that resolves with a PresentationConnection after the user agent prompts the user to select a display and grant permission to use that display.

Syntax

var promise = presentationRequest.start()
promise.then(function(PresentationConnection) { ... })
       .catch(function(error) { ...})

Parameters

None.

Return value

A Promise that resolves with a PresentationConnection.

Specifications

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

Browser Compatibility

Update compatibility data on GitHub
DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidEdge MobileFirefox for AndroidOpera for AndroidiOS SafariSamsung Internet
Basic support
Experimental
Chrome Full support 48Edge ? Firefox Full support 51
Disabled
Full support 51
Disabled
Disabled 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.
IE ? Opera Full support 35Safari ? WebView Android Full support 48Chrome Android Full support 48Edge Mobile ? Firefox Android Full support 51
Disabled
Full support 51
Disabled
Disabled 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.
Opera Android Full support 35Safari iOS ? Samsung Internet Android ?

Legend

Full support  
Full support
Compatibility unknown  
Compatibility unknown
Experimental. Expect behavior to change in the future.
Experimental. Expect behavior to change in the future.
User must explicitly enable this feature.
User must explicitly enable this feature.

Document Tags and Contributors

Contributors to this page: lucian95, jpmedley, apurv-pandey, MashKao
Last updated by: lucian95,