Skip to main content
Known Participant
October 6, 2016
Question

How can I prevent the lag that occurs on mobile browsers when an image appears?

  • October 6, 2016
  • 2 replies
  • 113 views

Hello,

Here is the background info:

  • I have a slide in my project with 9 smart shapes on it.
  • Each of these smart shapes have two statuses - normal and clicked.
  • Normal status - just the smart shape; clicked status - the smart shape with an audio attached to it + text caption.
  • When the user clicks on a smart shape, the smart shape moves into its clicked status, and all other smart shapes on the screen return to normal status.

Here is the issue:

  • This works fine on PCs.  On my Ipad I have two problems:
    • When the user moves to this slide while audio on the slide before is still playing, the module crashes.
    • When the user successfully comes to this slide, and presses one of the smart shapes with his finger, there is a lag of 1-2 seconds before he hears something..

Can anyone help with these issues?

Thanks in advance.

Ryan

This topic has been closed for replies.

2 replies

Lilybiri
Legend
October 6, 2016

Which version of 9 do you use? There are already 3 versions: 9.0.0, 9.0.1 and 9.0.2.

Since the audio is not triggered by the Play command (you couldy try it, by adding that to the action triggered by clicking on the shape), I suspect it is indeed due to the fact that the audio file still has to load (is it a big file?), which will take more time on a tablet, depending on its 'power' and the quality of the internet connection.

I also wonder if it wouldn't be more efficient to use show/hide in this case instead of switching between states. Especially because you can hide a group (of shapes) but you cannot change the state of a group and have a lot of change state commands at this moment.

TLCMediaDesign
Inspiring
October 6, 2016

If the audio that is play when the user navigates is triggered, use a stop audio command on the navigation button if possible.

The second issue cannot be solved due to how mobile browsers handle audio. There may be a hack to get the audio to preload.