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

The next Operation in Call of Duty: Black Ops 4 has officially begun on PlayStation 4 with Update 1.13!

Operation Grand Heist, announced yesterday by Treyarch, is now live on PlayStation 4 bringing new content across all modes of play. As Treyarch has stated, today’s just the start of what’s coming the next few months with Operation Grand Heist. The new Operation begins a new “Ghost Town” location to Blackout, a new tier of content in Black Market, new Outrider Specialist in MP, new Perk in Zombies, and more.

With Operation Grand Heist, the team has packed in an incredible amount of new content, and we can’t wait for fans to jump in and check it out,”
said Dan Bunting, Co-Studio Head, Treyarch. “We love the 1970s-style heist theme of this Operation, and the fast-paced action that it brings to
Blackout and Multiplayer, along with the brand-new Zombies experience following in March.”

“One of our favorite things at the studio is creating new ways for the community to play,” said Mark Gordon, Co-Studio Head, Treyarch. “We set out since day one to support Black Ops 4 long after launch, so we’re delivering a ton of new ways for players to engage with each mode of the game and we’re committed to giving fans new reasons to keep coming back week in and week out.”

As part of their blog post announcing the roadmap of new content, Treyarch has outlined what’s coming this week to Call of Duty: Black Ops 4 on PlayStation 4.

  • Live Today:
    • Multiplayer
      • New Specialist: Outrider
      • New Mode: One in the Chamber
      • Massive weapon and gameplay tuning updates
      • 2 new MP maps for Black Ops Pass holders
      • + more
    • Blackout
      • New Destination: Ghost Town with two big locations
      • New playable structures throughout the map
      • Gameplay and Armor tuning updates
      • All-new Prestige system
      • Cosmic Silverback character for Black Ops Pass holders
      • + more
    • Zombies
      • New Gauntlet: “Death-Con Five”
      • New Perk: Ethereal Razor
      • Additional Tier Skip for completing Daily Callings
      • Support for Signature Weapons
      • + more
    • Black Market
  • Wednesday, Feb. 20:
    • A familiar face makes an appearance to welcome in the new Operation.
  • Thursday, Feb. 21:
    • Multiplayer
      • League Play launches in the World League Hub with our first League Play Event
    • Zombies
      • Support for new Black Market weapons
  • Friday, Feb. 22:
    • Blackout
      • New Hot Pursuit game mode featuring the debut of three new vehicles: the SUV, PBR, and Muscle Car

Here’s the roadmap overview of what’s coming in Operation Grand Heist beyond the launch week:

The new content debuts first on PlayStation 4. Xbox One and PC will get the new content 7 days later.

Check out the trailer to see Operation Grand Heist in action:

comments below