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
{{ message }}
Repository navigation
Commit ecceec8
Browse filesBrowse the repository at this point in the historyBrowse files
// TODO: If $context->url_metric_group_collection->get_element_max_intersection_ratio( $xpath ) is 0.0, then the video is not in any initial viewport and the VIDEO tag could get the preload=none attribute added.
// TODO: If $context->url_metric_group_collection->get_element_max_intersection_ratio( $xpath ) is 0.0, then the video is not in any initial viewport and the VIDEO tag could get the preload=none attribute added.
83
+
/*
84
+
* Obtain maximum width of the element exclusively from the URL metrics group with the widest viewport width,
85
+
* which would be desktop. This prevents the situation where if URL metrics have only so far been gathered for
86
+
* mobile viewports that an excessively-small poster would end up getting served to the first desktop visitor.
0 commit comments