// 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 an update on Reddit reading what’s coming to Black Ops 4 on August 6 on PS4, plus info on today’s game settings update.

Incoming Next Week on PS4

The next phase of Operation Apocalypse Z kicks off August 6th on PS4, delivering even more new content to all modes in Black Ops 4. Here’s a preview of what’s to come:

  • Pandemic – Imagine an 80-player game of Infected on the biggest Call of Duty map ever made. We’re cranking that idea to 11 and making it a reality in Blackout, where the rules have changed from “last squad standing” to “last survivors on Earth against an endless swarm of undead at the end of the world”. Get ready to run.
  • Infected: Final Stand – The fan-favorite party game rises again in Multiplayer with new game-changing twists to keep both teams fighting for survival until the very end.
  • Blackout Updates – We’re adding the new sidecar-equipped Motorcycle to Blackout, along with more Zombies-inspired Easter eggs, Wonder Weapons, wall buys, and enemy types.
  • “Alpha Omega” Gauntlet – Take on 30 new rounds of challenges at Camp Edward in our latest competitive Gauntlet for Zombies fans, “Duck and Cover”.
  • More Contract Rewards – We’re increasing the potential Contract reward rate in every mode by guaranteeing at least one Normal Contract with a Reserve Case reward each day.
  • New Black Market Content – New Contraband rewards are coming, including an Ultra Weapon Bribe, new Epic Outfits, Gestures, Reactive Camo, Jump Pack, Calling Cards, and more.

Look for all the details in next week’s patch notes, plus some sneak peeks coming soon…

Prop Hunt and Ground War Are Back!

Today’s Featured Playlist update brings Prop Hunt back to MP, and Ground War comes to Blackout’s post-apocalyptic main map for the first time. Both are limited time modes, so you’ll want to jump in now while they’re featured this week. Barebones Moshpit also comes to MP on PS4 and Xbox One, combining Barebones Deathmatch Moshpit with Barebones Objective Moshpit for a more diverse back-to-basics experience.

Known Issues and Incoming Improvements

This update fixes a recent issue in Zombies where players were unable to pick up the Shield piece that could appear on the bookshelf in the Library in “Dead of the Night” – thanks to the community for the reports. We’re also tracking several issues and improvements for the future, including (not limited to):

  • Previously saved Paintjobs currently appearing hidden
  • Daemon 3XB Mastercraft not leveling up properly if the base version isn’t owned
  • Improved pathing for the K9-Unit to prevent Juneau from jumping up onto the tower in Summit
  • Damage tuning for the Reaver C86, Argus, and Locus in Zombies
  • Crashes that can occur when Pack-a-Punching the Ballistic Knife in Zombies
  • Various fixes and improvements for “Alpha Omega” in Zombies

Please continue to report any bugs you encounter with as much information included as possible (platform you’re playing on, map/weapon/attachment being used, etc.) and we’ll bring them to the team’s attention for investigation. The more info you can provide about the bug, the faster we can track down the cause.

A Note from the Team

As a reminder, please be civil in your communications on this subreddit and on social media about individual team members. It’s fair game to criticize the studio or the game, but targeting an individual is crossing the line, especially when comments reflect unverified or inaccurate information.

We often have members of the dev team speak in public as representatives of the game and studio, but no one should confuse that with them being in charge of, or wholly responsible for, overarching decisions about the game – and under no circumstances should any individual be called out or attacked for any reason. Please keep it clean and respectful when talking about individual team members, and keep the conversation constructive.

Here’s what’s new today:

https://i.redd.it/tnh1atwbdhd31.png

MULTIPLAYER

  • Featured Playlists (July 30-August 6)
    • PS4/Xbox One
      • Prop Hunt
      • Sticks and Stones
      • Barebones Moshpit
      • Mercenary Deathmatch Moshpit
      • Bolt-Action Barebones
    • PC
      • Quickplay
      • Deathmatch Domination
      • Barebones Deathmatch Moshpit
      • Sticks and Stones

BLACKOUT

  • Featured Playlists (July 30-August 6)
    • PS4/Xbox One
      • Alcatraz Horde
      • Ground War
      • Quads
      • Duos
      • Solo
    • PC
      • Quickplay
      • Alcatraz Horde
      • Ground War
      • Solo

ZOMBIES

  • Maps
    • Dead of the Night
      • Addressed an issue where players were unable to pick up the Shield piece that could appear on the bookshelf in the Library.

SOURCE: Treyarch

comments below