You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
RUM data on some project I have suggested that "lite-youtube.lyt-activated>button.lty-playbtn" interaction is causing large INP.
I would suggest yielding on the Click Event Handler doing something similar to this and improve the UX somehow like changing the Playback icon status etc to improve UX on top of INP.
I have RUM data that suggests it's caused by YT iFrame main thread code triggered by the play-btn click event with target attribution, no other event handlers.
It's the YouTube Iframe Thread code that increased the play-btn Click Event Handler blocking time.
It's true that my lite-youtube-embed fork acts differently, loading the YT Iframe in the background, so it's much faster to start playback.
I should have fixed it by adding the yield code to the Click event listener as described, will update you once I get new daily data.
RUM data on some project I have suggested that "lite-youtube.lyt-activated>button.lty-playbtn" interaction is causing large INP.
I would suggest yielding on the Click Event Handler doing something similar to this and improve the UX somehow like changing the Playback icon status etc to improve UX on top of INP.
The text was updated successfully, but these errors were encountered: