Skip to main content
natasam62790935
Participating Frequently
May 30, 2020
Answered

An HTML5 banner ad freezes on mobile, while working perfectly on Desktop

  • May 30, 2020
  • 2 replies
  • 841 views

Hi guys,
I'm working on an animation. This is a preview link: https://gocreative.cloud/mysoulcbd/1080x1920/

As you can see, when it is opened/previewed in the Desktop browser it loads quite nice and smooth, while when I test it on mobile, it is almost impossible. It freezes and goes extremely slow. 
Do you know where could be a problem? This is an IAB mobile standard size, 1080x1920. Elements are quite optimised, in terms of .png size. Any idea?

 

Thanks!

    This topic has been closed for replies.
    Correct answer zviz
    Here is the fla file: http://gocreative.cloud/mysoulcbd/fla_files.zip If you have any idea what can cause the problem, please share 🙂
    After fiddling around with your file, whatever I tried didn't result in better performance on mobile. I tried googling and found a really simple solution. All you have to do is add this line to the head of your html document: <meta name="viewport" content="width=device-width, minimum-scale=1.0" /> Apparently that line enables GPU raster for mobile. Check: https://zviz.net/TEST/zviz/

    2 replies

    natasam62790935
    Participating Frequently
    June 2, 2020

    You're great zviz! It works perfectly now 🙂
    Thanks a lot!

    zviz
    Participating Frequently
    June 2, 2020

    You're welcome! Glad I could help.

    zviz
    Participating Frequently
    May 31, 2020

    Instead individual images try and export them as texture atlas.
    https://helpx.adobe.com/animate/using/create-sprite-sheet.html

    natasam62790935
    Participating Frequently
    May 31, 2020

    Hi zviz, thanks for your reply. Unfortunately, the atlas option is not better:  https://gocreative.cloud/gocreative.cloud/mysoulcbd/1080x1920_sprite/

    zviz
    Participating Frequently
    June 1, 2020

    Sorry it didn't work out. Without the actual .fla file, that's the only thing I could think of.