Adsense for video Strobe plugin (plus html5 mobile version).

Here is a simple Strobe player plugin that supports linear video ads delivered from Google adsense for video or doubleclick account. The plugin accepts two parameters:

Download adsense for video plugin

We also have Google video ads plugin for Mediaelementjs player

Embed code for the example:

		function embedStrobeMediaPlayback( ){
		var easyBitsOptions = {
			poster: "/images/videos/video-placeholder.png",
			src: "https://www.easy-bits.com/videos/tears-of-steel.mp4",
			streamType: "recorded",
			width: 640,
			height: 360,
			enableStageVideo: true,
			controlBarAutoHide: true,
			playButtonOverlay: true,
			plugin_ads: "/downloads/adsense-for-video/strobeplayer/1.0/easybits-strobe-adsense-for-video.swf",
			ads_midroll: 'https://pubads.g.doubleclick.net/gampad/ads?sz=400x300&iu=%2F6062%2Fiab_vast_samples&ciu_szs=300x250%2C728x90&impl=s&gdfp_req=1&env=vp&output=xml_vast2&unviewed_position_start=1&url=[referrer_url]&correlator=[timestamp]&cust_params=iab_vast_samples%3Dlinear', //ad params
			ads_midrollTime: 1, //ad timing
			id : "strobeMediaPlaybackId"
		};
		if(typeof easyBitsOptions.ads_midroll != 'undefined' && typeof easyBitsOptions.ads_midrollTime != 'undefined'){
			easyBitsOptions.ads_midroll = easyBitsOptions.ads_midroll.split('=').join('equals').split('&').join('amperc');
			// easyBitsOptions.ads_midroll = easyBitsOptions.ads_midroll.split('&').join('amperc');
		}

		var $strobemediaplayback = $("#strobemediaplayback");
		window.$player = $strobemediaplayback.strobemediaplayback(easyBitsOptions);
		window.player = $player[0];
	}
	embedStrobeMediaPlayback();
	
loading..

Please wait...