Members
(constant) opener :Window
Identifies the window that opened this presentation.
This constant can typically have three possible values:
- a presenter console window that opened this window to display the main presentation,
- a parent window if this presentation is opened in a frame,
- the current window.
Type:
- Window
Methods
checkSozi()
Check that Sozi is loaded and notify a presenter console.
This function will repeatedly check whether the window.sozi
variable is populated.
On success, it will send the loaded
message to the presenter console.
notifyOnFrameChange(presenterWindow)
Setup an event handler to forward the frame change event to the presenter window.
This function is called when initializing the connexion between the current presentation and a presenter console in another window.
Parameters:
Name | Type | Description |
---|---|---|
presenterWindow |
Window | The window that shows the presenter console. |
onFrameChange(presenterWindow)
Process a frame change event.
This event handler is setup when the current player is connected to a presenter console. On frame change, the event is forwarded to the presenter.
Parameters:
Name | Type | Description |
---|---|---|
presenterWindow |
Window | The window that shows the presenter console. |
Listens to Events:
setPresenterMode(mainWindow, isCurrent)
Put the current player in presenter mode.
This function is used by the presenter console that uses several players as previews of the previous, current and next frames.
In presenter mode, keyboard and mouse navigation are disabled, frame numbers are hidden, hyperlink in the previous and next views are disabled, and in the current view, hyperlink ckicks are forwarded to the main presentation window.
Parameters:
Name | Type | Description |
---|---|---|
mainWindow |
Window | The browser window that plays the main presentation. |
isCurrent |
boolean | Is the current player showing the current frame? |