Skip to content

Video in in-app messages

To play a video in an HTML in-app message, include the following <video> element in your HTML, and replace the video names with your file’s name (or the remote asset’s URL).

To use a local video asset, be sure to include this file when uploading assets to your campaign.

To support iOS devices, you must include the playsinline attribute since full screen playback is not supported at this time.

To embed video and other HTML5 content in HTML in-app messages on Android, hardware acceleration is required to be enabled in the Activity where the in-app message is displayed. For more information, refer to the Android developer guide.

You can find other possible <video> options on MDN Web Docs

1
2
3
4
5
<video class="video" autoplay muted playsinline controls>
  <source src="https://video-provider.com/YOUR_VIDEO_FILE.mp4" type="video/mp4">
  <source src="https://video-provider.com/YOUR_VIDEO_FILE.ogg" type="video/ogg">
  Your device does not support playing this video.
</video>
WAS THIS PAGE HELPFUL?
New Stuff!