Let's roll a preroll.
Everything loaded up? Use a command like this in your javascript to make it all go.
makeItPreroll('vid1','http://ad3.liverail.com/?LR_PUBLISHER_ID=1331&LR_CAMPAIGN_ID=229&LR_SCHEMA=vast2', 11200);
Where vid1
is the ID you want to give the player; the URL is the VAST tag; and the number is the length of the ad in milliseconds +200;