// 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 latest Game Settings Update for Call of Duty: Black Ops 4 is live across platforms, and it brings League Play and the World League Hub to all platforms now, after launching last week on PS4.

Here’s everything that is included in today’s Treyarch update from Reddit.

League Play Now Live on All Platforms

The World League Hub is now available on all platforms with today’s update on Xbox One and PC, bringing competitive ranked Multiplayer to Black Ops 4 with our all-new League Play event structure! Time to show us what you’re made of.

The goal is simple: finish as high as possible in your Division Ladder by the end of each event to advance in rank. Win to earn Ladder Points. Lose, and you lose Ladder Points. There are 20 ranks to advance through on the road to Diamond, so bring your A-game. And if you haven’t already, get all the intel on League Play Divisions, Ladder Points, rank rewards, and more at our World League Rank System blog.

League Play Updates

Starting with today’s new event, League Play Events will now end at 12AM (midnight) Pacific time. We’re also investigating the implementation of punishments for quitters and intentional teamkillers in League Play matches, as well as stability fixes to ensure fewer crashes and fuller teams going into each match. We’re devoted to making the competitive experience even better with future updates throughout the season, so watch this space and keep climbing those Ladders.

Treyarch Developer Update: Operation Grand Heist

In case you missed it, we launched our new Treyarch Developer Update video yesterday featuring the studio’s own David Vonderhaar, Tony Flame, and Jason Blundell to discuss the design philosophy behind Black Ops 4’s newest content and what we’re working on for the future.

Keep an eye out for the next installment in March, where we’ll be talking more about what’s coming to all three modes in the next big phase of Operation Grand Heist. Let us know what you think in the comments below!

Hot Pursuit Arrives Tomorrow on Xbox One & PC

Ready for our wildest Blackout mode yet? Hot Pursuit continues this week on PS4 and debuts on Xbox One and PC tomorrow, featuring the new SUV, PBR, and Muscle Car vehicles. What’s so different about Hot Pursuit? Glad you asked.

Hot Pursuit features include:

  • Police vehicle variants and three new vehicles: SUVPBR, and Muscle Car.
  • Muscle Cars have the ability to spot Supply Stashes and Supply Drops throughout the map, marked with green light beacons.
  • Police vehicles have built-in Sensor Dart functionality when their police sirens are activated, plus the ability to detect enemy-occupied Muscle Cars via red light beacons.
  • Supply Stashes and Supply Drops occur far more frequently than in normal Blackout matches.
  • Similar to Down But Not Out, players respawn with each Collapse as long as one teammate is still alive when the next Collapse occurs. Respawns are disabled at the final Collapse, so plan accordingly!
  • The last team standing wins the game. Pro tip: There’s bound to be more than a few vehicles in the mix in the final circle, so bring an LMG to the fight if you’re looking to come out on top.

Here’s what’s new in Black Ops 4 with our latest update:

  • World League Hub and League Play now live on all platforms
  • Additional weapon support now live in Zombies on Xbox One/PC
  • Addressed hitching issues in Create-a-Class during matchmaking
  • APB Reactive Camo for the Maddox RFB now properly unwraps.
  • Hot Pursuit launches tomorrow in Blackout on Xbox One/PC

Multiplayer

  • Create-a-Class
    • Addressed hitching issues in Create-a-Class during matchmaking.
  • After Action Report
    • Addressed an issue where a white square would show up in the After Action Report when Gold Camo was unlocked for the Switchblade X9, Rampage, or Cha-Ching.

World League Hub

  • League Play
    • Create-a-Class
      • League Play loadouts for first-time players are now reset to fit with the current ruleset.
    • Ruleset
      • Restricted Fast Lock and Max Load attachments in order to better match the updated CWL ruleset.
    • Miscellaneous
      • Addressed a UI error that could occur when selecting League Ladder after completing placement matches.

Blackout

  • Reactive Camos
    • APB Reactive Camo for the Maddox RFB now properly unwraps.
  • UI
    • Added “Apply to All” option to Jump Packs personalization menu.
    • Addressed a bug where “Cycle Health” could appear in the HUD when the player had no healing items.

The following updates are live today on PS4, with other platforms to follow:

World League Hub

  • League Play
    • Competitive Multiplayer launches today on Xbox One and PC with the World League Hub.
      • Play for rank all week long the week during League Play Events.
      • Compete against opponents in your skill range based on World League Hub’s unique skill-based matchmaking system.
      • Earn Ladder Points as you play. Points go up with wins and down with losses.
      • Finish as high as possible in your Division Ladder at the end of events to advance through 20 competitive ranks.

Zombies

  • Additional Weapon Support
    • Mystery Box and Armory support added for new Operation Grand Heist weapons, including the Switchblade X9 SMG and Rampage shotgun.

Blackout

  • Ghost Town:Experimental new weaponry has appeared underground for the first person to find it…

SOURCE: Treyarch

comments below