diff --git a/record-and-playback/presentation/playback/presentation/0.9.0/playback.js b/record-and-playback/presentation/playback/presentation/0.9.0/playback.js index 4a353171f58b4039ae7441449da26a30151105b2..0ee4a3d141bc39e8345dd211d04ca65c63dc93ef 100755 --- a/record-and-playback/presentation/playback/presentation/0.9.0/playback.js +++ b/record-and-playback/presentation/playback/presentation/0.9.0/playback.js @@ -519,8 +519,9 @@ function swapVideoPresentation() { // if the cursor is currently being useful, he we'll be redrawn automatically soon showCursor(false); - // wait for the svg with the slides to be fully loaded and then set the current image - // as visible. + // wait for the svg with the slides to be fully loaded + // then set the current image as visible + // we also need to retrieve what was the current viewbox size to set it again function checkSVGLoaded() { var done = false; var svg = document.getElementsByTagName("object")[0]; @@ -529,6 +530,12 @@ function swapVideoPresentation() { if (img !== undefined && img !== null) { img.style.visibility = "visible"; resizeSlides(); + + var vboxVal = getViewboxAtTime(t); + if(vboxVal !== undefined) { + setViewBox(vboxVal); + } + done = true; } }