// 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 just given information for today’s game settings update for May 24, 2019. While the biggest news is the weekend long Quad Feed for Memorial Day, we also get a preview of an upcoming Barebones variant for Multiplayer.

We also get a teaser for the Days of Summer event which will kick off on June 4, coinciding with the last day of Operation Spectre Rising.

Full notes by Treyarch:

Quad Feed + Nuketown Playlist Now Live

We’re kicking off the long holiday weekend with our Memorial Day Weekend Quad Feed through 10AM PT Tuesday, featuring:

  • 2XP in Multiplayer, League Play, and Zombies
  • 2X Weapon XP in Multiplayer, League Play, and Zombies
  • 2X Nebulium Plasma in Zombies
  • 2X Merits in Blackout

We’ve also turned on a special Nuketown playlist in Multiplayer to coincide with the Quad Feed, so party up and enjoy the 2X goodness all weekend long!

Bolt Action Barebones Arrives May 28th

For all you sharpshooters looking for a snipers-only mode with a classic twist, get ready. We’re introducing Bolt Action Barebones on Tuesday alongside Barebones Deathmatch Moshpit! The rules are simple:

  • 6v6 TDM and Domination
  • Bolt-action sniper rifles only (no SDM)
  • No Specialist Weapons, Special Issue Equipment, Gear, or Operator Mods allowed
  • Single-use Equipment with a full charge on respawn
  • Select Spawn disabled

Get in there on Tuesday and give it your best shot. We’re also bringing Close Quarters Frenzy back for a limited time in Blackout on the 28th for all-out chaos with SMGs, shotguns, pistols, melee weapons, and an even faster Collapse.

Map Rotation Update

In today’s update, we’ve made some adjustments to how frequently Arsenal Sandstorm will show up in rotation based on map voting data and player feedback. It was our intent to push the boundaries with this alternative map and see how players would react in a live environment. From playing in the wild with all of you, and armed with the data we’ve received, we’ve made adjustments and will take these learnings into account for future maps.

Summer is Coming…

Our Days of Summer seasonal game update kicks off on June 4th on PS4, and we’ve got a brand-new collection of weapons, outfits, camos, and new game content on the way during the second half of Operation Spectre Rising. Hope you brought SPF 5000!

Here’s what’s new in today’s update:

All Platforms:

GLOBAL

  • Quad Feed (May 24-28)
    • 2XP in Multiplayer, League Play, and Zombies
    • 2X Weapon XP in Multiplayer, League Play, and Zombies
    • 2X Nebulium Plasma in Zombies
    • 2X Merits in Blackout
  • Black Ops Pass Bonus
    • 2X Tiers for Black Ops Pass owners and their party members continues through May 28

MULTIPLAYER

  • Featured Playlists (May 24-28)
    • PS4/Xbox One
      • Nuketown
      • Prop Hunt
      • Barebones Deathmatch Moshpit
      • Infected
      • Mercenary Deathmatch Moshpit
  • PC
    • Nuketown
    • Prop Hunt
    • Barebones Deathmatch Moshpit
  • Maps
    • Arsenal Sandstorm
      • Reduced chances of Arsenal Sandstorm appearing in map rotation based on map voting data and player feedback.

BLACKOUT

  • Featured Playlists (May 21-28)
    • PS4/Xbox One
      • Hot Pursuit
      • Alcatraz
      • Solo
      • Duos
      • Quads
  • PC
    • Hot Pursuit
    • Alcatraz
    • Solo

-Treyarch

comments below
Brooklyn boy, born and raised. @MrBrawl96 everywhere on the World Wide Web.