videojs/videojs-contrib-ads

Docs are wrong

mayeaux opened this issue · 1 comments

Screen Shot 2021-10-12 at 9 30 14 PM

player.one('adended', function() {

        player.ads.endLinearAdMode();
      });

Interesting, because:
Screen Shot 2021-10-12 at 9 32 03 PM

Says the event is adend (which it is)

Guess this means the docs are wrong? Also, why can't I star this repo? Thanks

If you have an adblocker enabled, it may interfere with github and this repo.

Also, the adend event fires when endLinearAdMode() is called, where-as the example uses adended to call the method. While similarly named, they are separate events.