amphtml icon indicating copy to clipboard operation
amphtml copied to clipboard

Nav interaction sometimes locks briefly on slow connections (tapping doesn't do anything)

Open propbuster opened this issue 9 years ago • 3 comments

Nav interaction sometimes locks briefly (tapping doesn't do anything). Seems to happen on pages with video only

Reproducable on iPhone and Android Chrome on 3G connection.

@newmuis

propbuster avatar Nov 15 '17 19:11 propbuster

I think this issue is still open and feels independent of media pool. What seems to be happening is that when all video sources in one story-page fail or are slow to load, the page is stuck for a certain timeout before the user can tap. After a fixed amount of time, the volume icon shows up, and the user can tap again. It seems like as soon as the poster loads, we should allow tapping on the page even if the video hasn't finished loading yet with no timeout. Hong has ideas to add a small loading at the bottom indicating that something is in fact loading in the background, but in the meantime we shouldn't prevent user taps. This is more likely to happen currently with video caching enabled for HLS videos, which makes it slightly higher priority. Ping me for repro steps!

flaviori avatar Dec 13 '17 19:12 flaviori

fwiw it's independent of MediaPool, but was fixed in #12156 anyway. The problem is that the PageAdvancement is not started until after the page has loaded. It can be started at construction or build time to fix this issue.

newmuis avatar Dec 14 '17 19:12 newmuis

This is a high priority issue but it hasn't been updated in awhile. @newmuis Do you have any updates?

ampprojectbot avatar Jan 01 '18 21:01 ampprojectbot