We embedded a prezi and created a menu. Now, let these two communicate with each other.
In the documentation of the Prezi Player API, there's a full API reference with all the functions you can use. To give you an idea, some functions with a short explanation are given here. This is not the full list.
.getStepCount():
This returns the number of the steps of the prezi.flyToPreviousStep()
: This moves the prezi to the previous step.flyToStep(number)
: This moves the prezi to the number you provide.pause(milliseconds)
: This is same as.play()
, but pauses if prezi is already playing and starts autoplaying if not playing