<script src="https://adventori.com/lp/enabler/ADventori-2.0.0.js" crossorigin="anonymous" type="text/javascript"></script>
<link rel=stylesheet type="text/css" href="https://adventori.com/lp/enabler/ADventori-2.0.0.css">

<a href="javascript:void(0);" onclick="ADventori.click();">
  <div id="ADventori_myAd">           
    <div id="ADventori_myContent">
        <img id="ADventori_logo" src="https://adventori.com/lp/enabler/templates/assets/logo_carre_vert.svg">                   
        <div id="ADventori_video"></div>
    </div>
  </div>
</a>

#ADventori_myAd *{
  box-sizing: border-box;
}
#ADventori_myAd{
    margin:0 auto;
    overflow: hidden;
    width: 300px;
    height: 250px;
    cursor:pointer;
    border: 1px solid black;
    background-color: #ffffff;
}
#ADventori_myContent{
    position: relative;
    width: 100%;
    height: 100%;
    background-image : url(https://adventori.com/lp/enabler/templates/assets/bg-01.jpg)
}
#ADventori_myContent::after{
    display: block;
    width: 300px;
    height: 250px;
    content: "";
    background: linear-gradient(to bottom, rgba(255,255,255,1) 0%,rgba(255,255,255,0.3) 100%);
}
#ADventori_logo{
    position:absolute;
    right: 0;
    left: 0;
    display: block;
    width: 60px;
    height: 60px;
    margin: auto;
}
#ADventori_video{
    position: absolute;
    top: 60px;
    width: 300px;
    height: 150px;
  text-align:center;
}
a{
  display: block;
  width: 100%;
  height: 100%;
}
ADventori.initData({
 url  :"https://adventori.com",
 mp4  :"https://adventori.com/lp/enabler/templates/Wall_Crea/Crea_Video/Video_Outstream/300x250/video/Big.mp4",
 webm :"https://adventori.com/lp/enabler/templates/Wall_Crea/Crea_Video/Video_Outstream/300x250/video/Big.webm"
});


var video = new ADventori.Video({
  videoContainer : document.getElementById('ADventori_video'),
  clicUrl : ADventori.data.url,
  urlMp4  : ADventori.data.mp4,
  cssStyle : "border:solid 1px transparent;",
  autoplay : true,
  showControls : false,
  sound : false
});

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.