2 Replies Latest reply on Dec 16, 2014 2:22 PM by interactivePixels

    Preloader Troubleshooting (Page doesn't load)

    interactivePixels Level 1

      Hello folks,

       

      i have some major problems with the preloader in edge and i don't yet know how to solve them:

       

      I have a small page created that has 3 or 4 videos embedded. I have set the preloader to polite and i want the videos/content to preload completely before the page starts. I published it as web content with a seperate preloader DOM (doesn't make a difference though..) and static html.

       

      For some reason, the preloader loops infinitely and it doesn't continue.. sometimes when refreshing the page, it will work - but this is not acceptable.

       

      Is there a way to find out what is actually causing these problems? The console output in the browser is not very helpful..

       

       

      Any help is greatly appreciated - i'm stuck

       

       

      Thanks

        • 1. Re: Preloader Troubleshooting (Page doesn't load)
          smenegassi Level 1

          Hi,

          it happens to me too. I can't figure it out why it happens. Sometimes I think it is because of the video encoder setting. Made dozens of tests. No solutions. Keep going  on in the darkness...

          • 2. Re: Preloader Troubleshooting (Page doesn't load)
            interactivePixels Level 1

            hello smenegassi,

             

            i MAY have found a possible workaround - it seems to work fine for me:

             

            I ran some auditing on the page i created with edge animate - it was telling me that there was no cache-expiration set for any elements and that some browsers might not cache elements if that is the case. Caching seemed crucial to me for the preloading process, so i then set up an .htaccess file in the folder on my server and added the following content:

             

            " <IfModule mod_expires.c>
              ExpiresActive on
              ExpiresDefault "access plus 1 month"
              ExpiresByType application/javascript "access plus 1 year"
              ExpiresByType image/x-ico "access plus 1 year"
              ExpiresByType image/jpg "access plus 14 days"
              ExpiresByType image/jpeg "access plus 14 days"
              ExpiresByType image/gif "access plus 14 days"
              ExpiresByType image/png "access plus 14 days"
              ExpiresByType text/css "access plus 14 days"

              ExpiresByType video/mp4 "access plus 14 days"
            </IfModule>

            "

            the last line was the most important one in my case, since i have much .mp4 content - everything else need to be adapted to your needs.


            Since i added this .htaccess file, everything works as expected.


            However, this doesn't have to be a workaround for all cases..


            Maybe you can try it and see if it works?


            Best regards


            Florian