This presentation is converted with HTML5Point SDK. All actions done in the presenter view is reproduced in the audence view.
This demo keeps the presenter view and the audience view in seperate iframes. The communication between these iframes are done through the "webcast.html" page.
Note: run this demo from a server, otherwise the browser will throw error.
Uncaught DOMException: Blocked a frame with origin "null" from accessing a cross-origin frame.
In this demo, the function sendProgress in presenter is used to report the navigation progress of the presenter to the the webcat.html page.
The function RecieveProgress in webcast.html recieves these messages and calls audience.GotoStep (step, slide, playPrevious);. This triggers the GotoStep function in the audience view and navigates to that step.