Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

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

Community Beginner ,
Oct 06, 2016 Oct 06, 2016

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

99
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
People's Champ ,
Oct 06, 2016 Oct 06, 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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 06, 2016 Oct 06, 2016
LATEST

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Help resources