Embed API
Messages are sent and received using JavaScript and the postMessage API. To enable this you'll need to append "postMessageEvents=true" to your embed URL, like so: https://slides.com/news/make-better-presentations/embed?postMessageEvents=true
You can find a full list of all available API methods here: https://revealjs.com/api/
Below is a working example where the parent page sends messages to and receives messages from a presentation. Click the "JS" tab to take a look at the source and comments.
View on CodePen
Below is a working example where the parent page sends messages to and receives messages from a presentation. Click the "JS" tab to take a look at the source and comments.
View on CodePen