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
Lighthouse scores should not penalize us for embedding the Vimeo player using the @vimeo/player library:
player = new Player(`video-container-${videoId}`, {
id: videoId,
width: playerDimensions?.contentBox.width,
height: playerDimensions?.contentBox.height,
})
Actual Behavior
Running a Lighthouse performance test in Chrome complains about the Vimeo player:
Page prevented back/forward cache restoration
Pages that use WebXR are not currently eligible for back/forward cache.
The page has an unload handler in a sub frame.
Hi @statico - I'm not able to run Lighthouse on the page provided (it's reporting an error), and when I run it on a raw player embed URL, I'm not seeing that specific issue. Is there anything different I need to do to reproduce?
Interesting. I'm now seeing that result when running Lighthouse in Chrome's developer tools:
But I'm seeing different results when running Lighthouse via Chrome extension (top) and PageSpeed Insights (bottom):
Not sure why there are those discrepancies, and I'm not sure what specifically is causing that diagnostic for one of the reports. We include WebVR support in the player, so perhaps something in that code is triggering this. I'll file an internal ticket for us to explore dynamically loading said code when needed, but for now, this will be a low priority because of the lack of clarity surrounding the issue and the still good performance scores (99-100 despite this issue).
Expected Behavior
Lighthouse scores should not penalize us for embedding the Vimeo player using the
@vimeo/player
library:Actual Behavior
Running a Lighthouse performance test in Chrome complains about the Vimeo player:
Steps to Reproduce
The text was updated successfully, but these errors were encountered: