Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

Skip animation steps

peili76c0485ed28e
diff --git a/prezi.js b/prezi.js
index 8e2d988ce9..85506ae5e6 100644
--- a/prezi.js
+++ b/prezi.js
@@ -324,6 +324,11 @@ var Prezi = (function (my) {
$(document).bind('gotoslide.muc', function (event, jid, presUrl, current) {
if (preziPlayer) {
preziPlayer.flyToStep(current);
+ //
+ var animationStepsArray = preziPlayer.getAnimationCountOnSteps();
+ for (var i = 0; i <= animationStepsArray[current]; i++) {
+ preziPlayer.flyToNextStep();
+ }
}
});
@@ -340,4 +345,4 @@ var Prezi = (function (my) {
});
return my;
-}(Prezi || {}));
\ No newline at end of file
+}(Prezi || {}));