// initialize jwplayer var playerInstance = jwplayer('player'); // player dom elements var playerContainerEl = document.querySelector('.player-container'); // returns video player position from top of document function getElementOffsetTop(el) { var boundingClientRect = el.getBoundingClientRect(); var bodyEl = document.body; var docEl = document.documentElement; var scrollTop = window.pageYOffset || docEl.scrollTop || bodyEl.scrollTop; var clientTop = docEl.clientTop || bodyEl.clientTop || 0; return Math.round(boundingClientRect.top + scrollTop - clientTop); } // returns the current y scroll position function getScrollTop() { var docEl = document.documentElement; return (window.pageYOffset || docEl.scrollTop) - (docEl.clientTop || 0); } // configure jwplayer instance playerInstance.setup({ autostart: true, playlist: 'https://cdn.jwplayer.com/v2/playlists/mYdavspX', primary: 'html5', setFullscreen: true, width: '100%' }); // when jwplayer instance is ready playerInstance.on('ready', function() { var config = playerInstance.getConfig(); var utils = playerInstance.utils; // get height of player element var playerHeight = config.containerHeight; // flag determining whether close has been clicked var closed = true; // CHANGED // flag determing whether player is playing var playing = false; // ADDED // eventhandler for when close button is being pressed document.getElementsByClassName('icon-close')[0].addEventListener('click', () => { closed = true; onScrollViewHandler(); }); playerInstance.on('play', function() { closed = false; playing = true; // ADDED }).on('pause', function () { playing = false; // ADDED }).on('adPlay', function() { closed = false; // ADDED playing = true; // ADDED }).on('adPause', function() { playing = false; // ADDED }); // get player element position from top of document var playerOffsetTop = getElementOffsetTop(playerContainerEl); // set player container to match height of actual video element playerContainerEl.style.height = playerHeight + 'px'; // below we handle window scroll event without killing performance function onScrollViewHandler() { var minimized = getScrollTop() >= playerOffsetTop; if (closed && minimized) { minimized = false; jwplayer().pause(); playing = false; // ADDED } else if (!minimized && !playing) { closed = true; // ADDED } utils.toggleClass(playerContainerEl, 'player-minimize', minimized); // update the player's size so the controls are adjusted playerInstance.resize(); } // namespace for whether or not we are waiting for setTimeout() to finish var isScrollTimeout = false; // window onscroll event handler window.onscroll = function() { // skip if we're waiting on a scroll update timeout to finish if (isScrollTimeout) return; // flag that a new timeout will begin isScrollTimeout = true; // otherwise, call scroll event view handler onScrollViewHandler(); // set new timeout setTimeout(function() { // reset timeout flag to false (no longer waiting) isScrollTimeout = false; }, 80); }; });

Treyarch has released the latest game settings update for Call of Duty: Black Ops 4 on consoles today and has made a significant change to the Maddox after hearing fan feedback from the latest balancing update for the game, which went live yesterday.

Treyarch states that some of the Maddox changes are being reverted specifically with recoil.

Here’s what Treyarch has updated:

Maddox RFB Recoil Tuning

After yesterday’s Multiplayer weapon tuning changes went live, we saw the Maddox RFB begin to fall more in line with the rest of the weapons in its class, with the exception of one change… which we certainly heard the community voice its opinion on. You guessed it: recoil.

Effective immediately with today’s update on consoles, we’ve reworked the Maddox’s first five shots in its recoil pattern. This will make the 1st, 4th, and 5th shots feel more like the original recoil prior to this week’s update, while the recoil on the 2nd and 3rd shots are increased slightly from their original value, yet remain controllable. This update is also planned to go live on PC tomorrow along with a long list of PC-exclusive weapon tuning changes.

Alongside that update, here’s the full details from Treyarch on what today’s game settings update has brought to the game:

Here’s what’s new in Black Ops 4 with our latest update:

The following updates are live today on consoles, with PC to follow with additional platform-exclusive updates:


  • Weapon Tuning
    • Maddox RFB
      • Reduced recoil on 1st, 4th, and 5th shots to more closely match pre-patch recoil stability
      • Slight recoil increase on 2nd and 3rd shots compared to pre-patch


  • Miscellaneous
    • Addressed an error players could receive when invited into an ongoing match during a public Gauntlet playlist.
    • Addressed an issue that caused players to lose ammo when using the Alchemical Antithesis on King and Country.


  • Featured Playlist
    • Featured Playlist set to Quads.
  • Gameplay
    • Vertical stacking is now the default in the Quick Equip menu.
  • Prestige
    • Addressed an issue where players couldn’t properly Prestige if they had content filters applied in Options.


  • Stability
    • Various crash fixes in all modes.

The following updates are live today on PS4, with other platforms to follow:


  • Specialists
    • Outrider
      • Fixed a formatting issue with Outrider’s Hawk when playing in splitscreen.
  • Maps
    • Lockup
      • Barricade will no longer disappear between round transitions.
    • Casino
      • Updated Heist dropoff locations.

SOURCE: Treyarch

comments below