// 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 released a new Game Settings Update for Call of Duty: Black Ops 4 today on PS4.

The new update brought some stability fixes across the game, and Treyarch has revealed that they have disabled Reaper in Blackout on PS4 because of an issue with the footstep audio.

Today’s maintenance update delivers new stability improvements and bug fixes in Blackout, Zombies, MP’s Bolt-Action Barebones playlist, World League Hub, and the Black Market on PS4.

In Blackout, we’ve temporarily removed Reaper from Blackout on PS4 while we fix an issue with Reaper’s footstep audio not playing properly, and restored access to the David Mason Blackout character for player who’ve unlocked him before yesterday’s update. Zombies Wonder Weapon spawns have been improved in Alcatraz, and the Locus sniper rifle’s sway has been tuned to match up with other snipers in Blackout.

We’ve also fixed a handful of crashes and bugs in “Alpha Omega” for Zombies players, restricted some new weapons from World League matches, added animated Master Calling Cards to the Operation Apocalypse Z collections, and more. Read on below for what’s new:

Post image

BLACKOUT

  • Characters
    • Temporarily suspended Reaper from character selection due to an issue preventing footstep audio from playing properly.
    • David Mason will now be available to players who unlocked him previously.
  • Alcatraz
    • Alistair’s Folly can now be found in Mystery Boxes.
    • Addressed an issue that prevented the Hell’s Retriever from spawning.
    • Addressed an issue that caused the Hell’s Retriever to spawn under a cell gate.
    • Hawk can no longer be used to block the Warden’s movements.
  • Weapons
    • Brought the sway on the Locus in line with other sniper rifles.

ZOMBIES

  • “Alpha Omega”
    • Gameplay
      • Addressed an issue that prevented users from entering codes for Rushmore.
    • Stability
      • Fixed a crash that could occur when players triggered the Main Quest boss fight when a Side Quest was still active.
      • Fixed a crash that could occur while fighting Nova Bombers that had recently teleported.
      • Fixed a crash that could occur when a player disconnected as the Trophy for surviving 20 rounds popped up.
      • Fixed a crash that could occur when a player died or disconnected immediately after activating Blood Wolf Bite.
      • Additional general stability fixes.
    • Miscellaneous
      • Added missing image for Vendetta MKII in the Armory.

MULTIPLAYER

  • Game Modes
    • Bolt-Action Barebones
      • Restricted new non-sniper rifle weapons from gameplay.
    • Create-a-Class
      • Added missing images to the Argus Diamond Camo unlock notification.

WORLD LEAGUE HUB

  • Weapons
    • Restricted the Reaver C86 and Backhander melee weapon from World League matches.

GLOBAL

  • Personalization
    • Added animated Master Calling Cards for Operation Apocalypse Z.
    • Resolved an issue that could cause a crash after unwrapping the Weaponized 115 Reactive Camo in-game.
  • Black Market
    • Addressed an issue that caused some images in the Black Market to appear stretched.

SOURCE: Treyarch

comments below