"Untitled"
Bootstrap 4.1.1 Snippet by zxalif

<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js"></script> <script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <!------ Include the above in your HEAD tag ----------> <html> <head> <!-- Load dependent stylesheets. --> <link rel="stylesheet" href="//googleads.github.io/videojs-ima/node_modules/video.js/dist/video-js.min.css" /> <link rel="stylesheet" href="//googleads.github.io/videojs-ima/node_modules/videojs-contrib-ads/dist/videojs.ads.css" /> <link rel="stylesheet" href="//googleads.github.io/videojs-ima/dist/videojs.ima.css" /> </head> <body> <video id="content_video" class="video-js vjs-default-skin" controls preload="auto" width="640" height="360"> <source src="https://storage.googleapis.com/gvabox/media/samples/android.mp4" type="video/mp4" /> </video> <!-- Load dependent scripts --> <script src="//googleads.github.io/videojs-ima/node_modules/video.js/dist/video.min.js"></script> <script src="//imasdk.googleapis.com/js/sdkloader/ima3.js"></script> <script src="//googleads.github.io/videojs-ima/node_modules/videojs-contrib-ads/dist/videojs.ads.min.js"></script> <script src="//googleads.github.io/videojs-ima/dist/videojs.ima.js"></script> </body> </html>
var player = videojs('content_video'); var options = { id: 'content_video', adTagUrl: 'https://pubads.g.doubleclick.net/gampad/ads?iu=/22022010600/prod-parent-ad-unit/22064565919&description_url=https%3A%2F%2Fgoama.com%2 F&tfcd=0&npa=0&sz=480x640|300x250|400x300|640x480|336x280&afvsz=200x200,250x250,300x250,336x280&gdfp_req=1&output=vast&unviewed_position_start=1&e nv=vp&impl=s&correlator=' }; player.ima(options); // On mobile devices, you must call initializeAdDisplayContainer as the result // of a user action (e.g. button click). If you do not make this call, the SDK // will make it for you, but not as the result of a user action. For more info // see our examples, all of which are set up to work on mobile devices. // player.ima.initializeAdDisplayContainer();

Related: See More


Questions / Comments: