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
Player embedded in an iframe autoplays a video without CLS issues
Actual Behavior
Player produces CLS when autoplayed
A div (some measurements indicate a div with the classes jw-controls jw-reset) seems to start rendered with a top position and the height of the video container, then it reduces size and changes position.
Steps to reproduce
Paste this html into a html document and open it in Google Chrome.
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
</head>
<body>
<div class="post__content-wrapper">
<div class="iframe_wrapper"><iframe width="100%" height="400" class="iframe__video"
frameborder="0" src="https://www.starmag.com/player/index/114370/3/13">
</iframe></div>
<figcaption class="post__excerpt"> Dans la réserve de Sabi Sand Game, en Afrique du Sud, un homme est à la
recherche de lions. Mais il va tomber sur les félins plus vite qu'il ne le pensait ! </figcaption>
</div>
</body>
</html>
Open DevTools and toggle device view on.
Check CLS issues in either the Performance tab->Start profiling and reload the page->Experience->CLS
or the Performance Insights (lab) tab -> Measure page load-Insights->Cumulative Layout Shift
Environment
Desktop Computer
Windows 11
Google Chrome Version 113.0.5672.94 (Official Build) (64-bit)
The text was updated successfully, but these errors were encountered:
Expected Behavior
Player embedded in an iframe autoplays a video without CLS issues
Actual Behavior
Player produces CLS when autoplayed
A div (some measurements indicate a div with the classes jw-controls jw-reset) seems to start rendered with a top position and the height of the video container, then it reduces size and changes position.
Steps to reproduce
or the Performance Insights (lab) tab -> Measure page load-Insights->Cumulative Layout Shift

Environment
The text was updated successfully, but these errors were encountered: