If using Firefox, please enable dom.presentation.controller.enabled
in about:config.
Make sure you are running this at localhost
or with HTTPS
enabled.
The PresentationConnection Object adds properties and methods to control the current presentation session
binaryType
null
id
null
state
null
url
null
resolution
null
This is the console. It logs all messages sent by the other page.
Whenever the other page sends a message, a message
event is sent to this page.
The sending page can also send data, which will be accessible via the data
property of the event.