Book Image

Prezi HOTSHOT

By : HLCN Van Groenendaal
Book Image

Prezi HOTSHOT

By: HLCN Van Groenendaal

Overview of this book

Table of Contents (18 chapters)
Prezi HOTSHOT
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
Index

Making it work


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

  • .getCurrentStep(): This returns the actual step number

  • .getTitle(): This returns the title of the prezi

  • .flyToPreviousStep(): This moves the prezi to the previous step

  • .flyToNextStep(): This moves the prezi to the next step

  • .flyToStep(number): This moves the prezi to the number you provide

  • .play(milliseconds): This starts autoplaying the prezi

  • .pause(milliseconds): This is same as .play(), but pauses if prezi is already playing and starts autoplaying if not playing

  • .stop(): This stops autoplaying the prezi

Prepare for lift off

It is important to know that developers start counting with 0.

Engage thrusters

For our project...