title: Show mid-roll ads in video player using plugin
body: <p>Trying to develop custom video player using Vast 2.0 and video.js. I got success in showing pre-roll ad with the skip button functionality. </p>
  
  <p>I am showing my custom videos as ad. </p>
  
  <p>Can someone help me in how could I show multiple mid-roll like after some span of minutes? </p>
  
  <p>Updating XML file for reference:</p>
  
  <pre><code>&lt;VAST xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="2.0" xsi:noNamespaceSchemaLocation="vast.xsd"&gt;
  
      &lt;Ad id="176" &gt;
  
          &lt;InLine&gt;
              &lt;AdSystem version="2.0"&gt;ONION&lt;/AdSystem&gt;
              &lt;AdTitle&gt;In-Stream Video&lt;/AdTitle&gt;
              &lt;Description&gt;Grand Budapest Hotel_Fridays&lt;/Description&gt;
  
              &lt;Impression&gt;&lt;![CDATA[http://reporting.theonion.com/videoadtracker/track.gif?videoAd=176&amp;event=impression]]&gt;&lt;/Impression&gt;
              &lt;Creatives&gt;
                  &lt;Creative sequence="1" AdID=""&gt;
                      &lt;Linear&gt;
                          &lt;Duration&gt;00:00:10&lt;/Duration&gt;
                          &lt;TrackingEvents&gt;
                              &lt;Tracking event="start"&gt;&lt;![CDATA[http://reporting.theonion.com/videoadtracker/track.gif?videoAd=176&amp;event=start]]&gt;&lt;/Tracking&gt;
  
                              &lt;Tracking event="start"&gt;&lt;![CDATA[http://ad.doubleclick.net/ddm/trackimp/N2998.Onion/B7912634.16;dc_trk_aid=279982600;dc_trk_cid=57339121;ord=[timestamp]]]&gt;&lt;/Tracking&gt;
  
  
  
  
  
                          &lt;/TrackingEvents&gt;
  
                          &lt;VideoClicks&gt;
                              &lt;ClickThrough&gt;&lt;![CDATA[http://ad.doubleclick.net/ddm/trackclk/N2998.Onion/B7912634.16;dc_trk_aid=279982600;dc_trk_cid=57339121;ord=[timestamp]?http://www.foxsearchlight.com/thegrandbudapesthotel]]&gt;&lt;/ClickThrough&gt;
                          &lt;/VideoClicks&gt;
  
                          &lt;MediaFiles&gt;
  
                              &lt;MediaFile id="1" delivery="progressive" type="video/mp4"&gt;&lt;![CDATA[media/test.mp4]]&gt;&lt;/MediaFile&gt;
  
                              &lt;MediaFile id="1" delivery="progressive" type="video/webm"&gt;&lt;![CDATA[http://v.theonion.com/onionmedia/videos/videometa/1521/test.webm]]&gt;&lt;/MediaFile&gt;
  
                          &lt;/MediaFiles&gt;
                      &lt;/Linear&gt;
                  &lt;/Creative&gt;
              &lt;/Creatives&gt;
        &lt;/InLine&gt;
  
      &lt;/Ad&gt;
  
  &lt;/VAST&gt;
  </code></pre>