<div class="flex w-full h-auto my-auto">
<video class="video-js vjs-default-skin vjs-fluid " crossorigin="anonymous" controls="" id="ima-ads"></video>
</div>
<script type="text/javascript">
var player = videojs("ima-ads", {
"plugins": {
"qualitymenu": {},
"youtube": {}
},
"sources": [
{
"src": "http://www.youtube.com/watch?v=YE7VzlLtp-4",
"type": "video/youtube"
}
]
});
player.ima( {
"adTagUrl": "https://pubads.g.doubleclick.net/gampad/ads?iu=/21775744923/external/single_ad_samples&sz=640x480&cust_params=sample_ct%3Dlinear&ciu_szs=300x250%2C728x90&gdfp_req=1&output=vast&unviewed_position_start=1&env=vp&impl=s&correlator=",
"id": "content_video"
});
</script>