From September, Flash will no longer be supported by Chrome. Prepare for the shift towards HTML5 by visiting our Flash to HTML5 help page

Check it out!

Video Element

Most of the mobile banners use standard HTML5 Video API for inserting video elements. All of the Mobile Rich Media banners can use HTML5 Video API, but some of them (e.g. 3D Cube) has custom implementation of it. Please refer to a specific documentation in such cases.

  • HTML
    <video id="video" controls>
        <source src="assets/video.mp4" type="video/mp4">
  • Using Additional Assets
    var video = document.getElementById("video");
    video.src = Adform.getAsset(1);
    video.poster = Adform.getAsset(2);