Read more about playsinline: why it matters and how to implement it.
What Is playsinline and Why It Matters for Video Ads
If you’re using video in your display ads (this relates to all display ads not only Adnami display ads), especially on iOS devices, there’s one small but important attribute you need to know about: playsinline.
By default, iOS devices don’t play embedded videos the same way desktop browsers do. Instead, they pop out the video into the device’s native full-screen player as soon as a video starts playing. The playsinline attribute overrides this default behaviour.
Playsinline in Adnami
All Adnami video templates already include the playsinline setting by default. If you are building your own custom video creative, there a few things you need to be aware of – see below for details 👇
How to manually implement the Playsinline
If you’re building custom HTML5 zip creatives and including a video, you’ll need to make sure the playsinline attribute is added manually. This applies to all cases where the video is not directly hosted in Adnami. Examples include HTML5 banners, third-party creative banners, and third-party ad tags. In these situations, any necessary attributes—such as video playback settings—need to be added within the original creative itself. If you are using a third-party creative or tag, we recommend reaching out directly to the vendor or provider for support in how to correctly implement the required attributes. For HTML5 banners, it is possible to add the attribute manually. For example, the playsinline attribute can be added like this:
<video src="..." playsinline muted autoplay></video>
However, please note that Adnami does not provide support for manual implementations by default. Instead, we recommend either hosting the video directly in Adnami for full support, or advising your client to contact their HTML5 banner provider to ensure the correct setup.
Not Specific to Adnami
💡Keep in mind that this isn’t something specific to our platform—it’s simply how mobile browsers (iOS in particular) treat web video by default. The playsinline attribute is the standard way to control this behavior.