Play videos in-line on iOS
In order 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.
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.
playsinlineattribute to every video element in your HTML. This is a Boolean element, so adding the
playsinlineattribute 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" />
<iframe id="ytplayer" type="text/html" width="720" height="405"