// 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); };});

A new Game Settings Update for call of Duty: Black Ops 4 is now live across platforms and brings new Featured Playlist, Alcatraz to Xbox One and PC, and more.

Treyarch has also noted that the blog post on Contracts, which are coming by the end of this month, will be live later this week.

Here’s the full details from Treyarch:

Ground War and Zombies Improvements

Today, we’ve made adjustments to Ground War in Blackout based on player feedback, including a wider starting zone, a shorter period of time before the first Collapse, more space between initial flight paths, and fixes for rare instances where players could fall through the ground at the start of a match.

In Zombies, we’ve also issued some additional stability improvements and a fix for a player-reported health regen bug on Round 21 in “Hellcatraz”. These changes should make for better pacing and a smoother experience for players in both modes – jump in and let us know what you think.Alcatraz Returns on Xbox One and PC

Alcatraz is back in Blackout on Xbox One and PC with the new Submarine and Shipwreck destinations on opposite sides of the island, and structural updates to the main Cellhouse building that you’ll want to see for yourself. We’ve also added Alcatraz Duos to the Featured Playlists on PC, so everyone’s got a mode to drop into, no matter how you play.

On consoles, we’ve added two Mercenary playlists to the Featured Playlists in Multiplayer for our Core and Hardcore lone wolves out there, and Barebones Deathmatch Moshpit makes its return as well. We’re constantly updating our Featured Playlists based on popularity and back-end data, so be sure to check back often to see what’s new.Twitch Prime June Loot Drop

The third Twitch Prime loot drop in Black Ops 4 is now live for Twitch Prime members on all platforms starting today! Log in to redeem your free Sour Cherry weapon camo, Firebreakin’ gesture, Target Locked sticker, 100 Nebulium Plasma, and 5 Reserve Cases: http://amzn.to/2F3lbwyMore to Come

Our Contracts Blog is incoming this week with all the details on what to expect, and our next 2XP Weekend will kick off this Friday, June 21st! In the meantime, here’s what’s new since our last update:

BLACKOUT

  • Ground War
    • Increased radius of initial Collapse.
    • Reduced initial delay on first Collapse.
    • Increased distance between flight paths.
    • Loadout upon redeploy will now be an MX9, ammo, and bandages.
    • Addressed issues where players could fall through the ground upon infiltration.
  • Featured Playlists (June 18-25)
    • PS4/Xbox One
      • Ground War
      • Alcatraz
      • Solo
      • Duos
      • Quads
    • PC
      • Ground War
      • Alcatraz Duos
      • Solo

MULTIPLAYER

  • Featured Playlists (June 18-21)
    • PS4/Xbox One
      • Capture the Flag
      • Barebones Deathmatch Moshpit
      • Prop Hunt
      • Mercenary Deathmatch Moshpit
      • Mercenary Hardcore Moshpit
    • PC
      • Capture the Flag
      • Bolt-Action Barebones
      • Hardcore Free-for-All

ZOMBIES

  • Miscellaneous
    • Addressed an issue that could prevent players from regenerating health after Round 21 in the “Hellcatraz” Gauntlet.
  • Stability
    • General stability improvements.

GLOBAL

  • Twitch Prime
    • June Twitch Prime loot drop now available on all platforms:
      • Sour Cherry weapon camo
      • Firebreakin’ gesture
      • Target Locked sticker
      • 100 Nebulium Plasma
      • 5 Reserve Cases

BLACKOUT

  • Alcatraz
    • Submarine and Shipwreck destinations added to the map.
    • The roof has been removed from the center of the main Cellhouse building with new strategic landing and grappling opportunities.

SOURCE: Treyarch

comments below