// 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 update for Call of Duty: Infinite Warfare, version 1.04, is now live on PlayStation 4 and Xbox One.

The file size is 850MB on PS4 and 1.03GB on Xbox One.

This patch brings Infected mode, Recent Players tab, map previews in Private matches, UI updates, Stats in lobbies, gives Camos specific rarity, the Hellstorm camo is now animated, camos cover less of the weapons, fixes the frame rate issues on Xbox One, and more.

PATCH NOTES: 

MULTIPLAYER:

  • Fixes for Medals
  • General fixes for Infected mode
  • Removing CTF Flags in Winner’s Circle; adjusted session state change for games where there’s no kill cam
  • Map exploits (we know some of you are reporting one on Genesis; we’re working on it)
  • Removal of Taunts that weren’t supposed to be unlocked
  • Localization formatting fixes
  • Adjusted a challenge to correctly reference Propulsion rather than Rushdown
  • Fixed typos
  • Adjusted the challenge for killing players in the air just a tinnnny bit more lenient
  • EAK ADS fire fix
  • Fixed an issue where the 2nd player in splitscreen would not earn any Mission Team Progress
  • Added a sound for tripmine projectile
  • Fix for Synaptic death going through the ground
  • Add a win to the top 3 players in FFA modes for leaderboard stats and show victory on the final win/lose/tie HUD
  • Created more contract between the 3 Scorestreaks that are selected versus the ones that are disabled
  • Adjusted points for score per bomb plant
  • Fixed accessory collision on the R.A.W.
  • Adjusted a Frontline spawn point on Riot due to intersection geometry
  • Fix for previews of Mission Team emblems when they were still locked
  • Adjusted gun camos
  • FFA score increase from 50 to 100
  • Fixed the collision of the strap on the Karma from glitching through the other side of the gun
  • DMR-1 – Epic- No longer supports the Variable Zoom Scope
  • Enlarged the collision shape on cosmetics to prevent clipping with various weapons
  • Fix for one extra frame of latency that was appearing in the muzzle flashes
  • Fixed a bug where bots wouldn’t pick up crates in Drop Zone
  • Fixed a bug where the Stinger would lock on to your own Killstreaks in FFA
  • Fix for S&D crash
  • Better win conditions that will prevent draws in Reinforce
  • Combat Burst duration tuning for CWL
  • CWL – adjustments to recipe for correct Payload charge and score rates
  • Fixed one known issue with framerate on Xbox One and various performance improvements – if you’re still experience this, please let us know
  • Added Infected mode
  • Adjustment to the Warden Killstreak on Breakout
  • Pick 10 points are now blue
  • Added ability to see the chosen Rig and mini combat record of others players in a lobby

ZOMBIES:

  • Fix for pap zappers having no ammo after you pick them back up off the standee
  • Fix for pap zappers not having camo after putting back on the standee
  • Fix for Brute having his helmet on incorrectly after removing it after he grabbed a zombie
  • Fix for zombies who “walk on air”
  • Fixes for certain cards with the Alien Fight
  • Front end camera transition fixes
  • Fix for the croc mouth (sometimes it wouldn’t return to its original height)
  • Fix for seeing player outlines when they are playing emulated arcade games
  • Allow clowns to be part of the “kill marked” challenges
  • Make sure the Brute zombie doesn’t decide to grab/kill zombies who are marked for a challenge
  • Fix for players being able to jump+sprint down the slide
  • Add the soul key progression to the front end.
  • Fix for players being able to repair a window from too far away and avoid being attacked
  • Fix for N31L’s pause/unpause functionality being broken after letting him auto-pause due to multiple failed challenges in a row
  • Fixed the occasional crawling zombie playing a standing death animation
  • Reducing emissive on camos
  • Give player a hit reward if melee’ing during Infinite Ammo

SOURCE: Infinite Warfare Reddit

 

Main image via @SimCardInvalid

comments below