To improve ad performance and provide a better viewing experience, Google Ad Manager publishers require the playsinline
attribute for all in-banner videos. This attribute ensures that in-banner video creatives do not expand to full screen without user action.
Starting in June 2019, all HTML5 creatives with in-banner videos that are missing the playsinline
attribute will be filtered from Display & Video 360 auctions. To make sure your creatives are eligible for bidding, always enable in-line playback for all in-banner videos. The playsinline
attribute is not a requirement for Programmatic Direct.
Note: The webkit-playsinline
attribute is not supported. Make sure to only use the playsinline
attribute.
How to turn on in-line playback
Google Web Designer
playsinline
). If your creative was built before this date, update to the latest version of Web Designer, then open and republish your creative.HTML
playsinline
attribute to every video element in your HTML. This is a Boolean element, so adding the playsinline
attribute on its own is the same as setting it to true.<video id="video1" controls="controls" poster="image.jpg" playsinline>
<source type="video/mp4" src="video.mp4" />
<source type="video/ogg" src="video.ogg" />
<source type="video/webm" src="video.webm" />
</video>
YouTube player
playsinline
player parameter.<iframe id="ytplayer" type="text/html" width="720" height="405"
src="https://youtube.com/embed/M7lc1UVf-VE?playsinline=1"
frameborder="0" allowfullscreen>