From 513966fbe2f93a92631dc8a99b7fdcda4b979613 Mon Sep 17 00:00:00 2001 From: Pat O'Neill Date: Wed, 2 Dec 2015 19:50:38 -0500 Subject: [PATCH] Restore 'redispatch' function name --- src/videojs.ads.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/videojs.ads.js b/src/videojs.ads.js index 3fa7264f..114bddfd 100644 --- a/src/videojs.ads.js +++ b/src/videojs.ads.js @@ -290,7 +290,7 @@ var }); }; - player.on(videoEvents, function(event) { + player.on(videoEvents, function redispatch(event) { if (player.ads.state === 'ad-playback') { triggerEvent('ad', event); } else if (player.ads.state === 'content-playback' && event.type === 'ended') {