Skip to content
This repository has been archived by the owner on Jun 7, 2023. It is now read-only.

Commit

Permalink
Merge pull request #12838 from Wikia/release-504-MAIN-10297
Browse files Browse the repository at this point in the history
MAIN-10297 | Temporarily disable recovery for Ooyala
  • Loading branch information
Igor Rogatty committed Apr 25, 2017
2 parents 31ca208 + 99df7b0 commit 462a74f
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions extensions/wikia/VideoHandlers/js/handlers/Ooyala.js
Original file line number Diff line number Diff line change
Expand Up @@ -166,12 +166,13 @@ define('wikia.videohandler.ooyala', [
log('All Ooyala assets loaded', log.levels.info, logGroup);

win.OO.ready(function () {
if (adBlockDetection.isEnabled()) {
adBlockDetection.addOnBlockingCallback(initRecoveredPlayer);
adBlockDetection.addOnNotBlockingCallback(initRegularPlayer);
} else {
// FIXME MAIN-10297
// if (adBlockDetection.isEnabled()) {
// adBlockDetection.addOnBlockingCallback(initRecoveredPlayer);
// adBlockDetection.addOnNotBlockingCallback(initRegularPlayer);
// } else {
initRegularPlayer();
}
// }
});
});
});
Expand Down

0 comments on commit 462a74f

Please sign in to comment.