Skip to content
This repository has been archived by the owner on Feb 13, 2019. It is now read-only.

Commit

Permalink
Merge pull request #41 from jcruz2us/master
Browse files Browse the repository at this point in the history
track the ad skip event
  • Loading branch information
csinchok committed Sep 4, 2014
2 parents 4b21850 + 285e08b commit c4d5d14
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion videojs.vast.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down Expand Up @@ -267,4 +268,4 @@
};

vjs.plugin('vast', vastPlugin);
}(window.videojs, window.DMVAST));
}(window.videojs, window.DMVAST));

0 comments on commit c4d5d14

Please sign in to comment.