diff --git a/videojs.vast.js b/videojs.vast.js index b9b1cbe..28293e7 100644 --- a/videojs.vast.js +++ b/videojs.vast.js @@ -183,6 +183,7 @@ skipButton.onclick = function(e) { if((' ' + player.vast.skipButton.className + ' ').indexOf(' enabled ') >= 0) { + player.vastTracker.skip(); player.vast.tearDown(); } if(Event.prototype.stopPropagation !== undefined) { @@ -267,4 +268,4 @@ }; vjs.plugin('vast', vastPlugin); -}(window.videojs, window.DMVAST)); \ No newline at end of file +}(window.videojs, window.DMVAST));