![](https://secure.gravatar.com/avatar/5b850edd6b19eff82763989427209da3?rating=PG&size=50&default=https%3A%2F%2Fcdn.desk.com%2Fassets%2Funknown_user_50-8ad5644bbe6b1bd7454f2ea465f782bd.png)
Add a Pre-Roll
I have a code for VMAP for ad scheduler but i would like a pre-roll to start when you click play on the video
<vmap:VMAP xmlns:vmap="http://www.iab.net/vmap-1.0" version="1.0"> <vmap:AdBreak breakType="linear" breakId="85cac7e0fbad11e3b283fbde008b4e10" timeOffset="00:07:00"> <vmap:AdSource allowMultipleAds="true" followRedirects="true" id="1"> <vmap:AdTagURI templateType="vast3">
<![CDATA[
http://www.adotube.com/php/services/player/OMLService.php?avpid=oRYYzvQ&platform_version=vast20&ad_type=linear&groupbypass=1&HTTP_REFERER=http://www.longtailvideo.com&video_identifier=longtailvideo.com,test
]]>
</vmap:AdTagURI> </vmap:AdSource> </vmap:AdBreak> <vmap:AdBreak breakType="linear" breakId="85cac7e0fbad11e3b283fbde008b4e10" timeOffset="00:14:00"> <vmap:AdSource allowMultipleAds="true" followRedirects="true" id="1"> <vmap:AdTagURI templateType="vast3">
<![CDATA[
http://www.adotube.com/php/services/player/OMLService.php?avpid=oRYYzvQ&platform_version=vast20&ad_type=linear&groupbypass=1&HTTP_REFERER=http://www.longtailvideo.com&video_identifier=longtailvideo.com,test
]]>
</vmap:AdTagURI> </vmap:AdSource> </vmap:AdBreak> <vmap:AdBreak breakType="linear" breakId="85cac7e0fbad11e3b283fbde008b4e10" timeOffset="00:30:00"> <vmap:AdSource allowMultipleAds="true" followRedirects="true" id="1"> <vmap:AdTagURI templateType="vast3">
<![CDATA[
http://www.adotube.com/php/services/player/OMLService.php?avpid=oRYYzvQ&platform_version=vast20&ad_type=linear&groupbypass=1&HTTP_REFERER=http://www.longtailvideo.com&video_identifier=longtailvideo.com,test
]]>
</vmap:AdTagURI> </vmap:AdSource> </vmap:AdBreak> <vmap:AdBreak breakType="linear" breakId="85cac7e0fbad11e3b283fbde008b4e10" timeOffset="end"> <vmap:AdSource allowMultipleAds="true" followRedirects="true" id="1"> <vmap:AdTagURI templateType="vast3">
<![CDATA[
http://www.adotube.com/php/services/player/OMLService.php?avpid=oRYYzvQ&platform_version=vast20&ad_type=linear&groupbypass=1&HTTP_REFERER=http://www.longtailvideo.com&video_identifier=longtailvideo.com,test
]]>
</vmap:AdTagURI> </vmap:AdSource> </vmap:AdBreak> </vmap:VMAP>