If you plan to use pre-roll video, mid-roll video, and/or post-roll video, you must define an array of ad videos. See the code example below.
<script>var player=videojs('player_1');player.nuevo({//possible nuevo plugin options here});var ads_array = [{src:"//path-to-preroll_video.mp4",type: "video/mp4",href: "url-to-go-on-preroll-click",offset:0,skip: 5id= "1"},src:"//yourdomain.com/midroll_video.mp4",type: "video/mp4",href: "url-to-go-on-midroll-click",offset:30,skip: 5id: "2"},src:"//yourdomain.com/postroll_video.mp4",type: "video/mp4",href: "url-to-go-on-postroll-click",offset:'100%',skip: 5id: "3"}]);player.vroll( ads_array)</script>
<script>player.on('vroll', function(event, data) {var ad_id = data.id;var action = data.action;});</script>
<script>var ads_array = [{ad 1}{ad 2}]player.vroll({ ads_array, {trackUrl:"//path-to-tracking-url" }})</script>