Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

General Discussion

Mark Cabangon
Mark Cabangon
3,301 Points

Possible Iphone 5c/5s website loading issue?

I hope this is okay to ask here... I uploaded a website recently and it seemed to work fine. My client called me after reviewing it and pointed out that is wasn't loading the site all the way.
Long story short: She was using an iPhone 6 and only the footer and the header w/ image was loading, but all the content was blank. I tested on an iPhone 4s, Galaxy S6 and S5, HTC, laptop, iPad mini, and desktop. All devices opened the site and had no problem EXCEPT the iPhone 5c, 5s, and 6!

Has anyone experienced this? And have an idea as to what is going on? I will update my iPhone 5s to the newest iOs and try, but I don't want to have to strip the code if I don't even know where to start.

Thanks, Mark JC

1 Answer

Mark Cabangon
Mark Cabangon
3,301 Points

WHoo!! I fixed it!
In case anyone was wondering or viewed this question, the issue was animate.js and the "preload" on my <video> element. Seems as though iOS 8 cannot handle a preload and a "lazy" load animation. After making "preload" to "preload=none" it worked like a charm!! Keep in mind...all devices (tablets, desktop, non-iOS devices, and iOS 7 and older) all worked perfect.

Mark JC