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

Infinity Ward has released the latest patch update for Call of Duty: Modern Warfare overnight on November 22 on PlayStation 4, Xbox One, and PC.

This new patch update is version 1.09 and is 12.9GB update size on PS4, 15GB on Xbox One, and 20GB on PC.

This new update brings changes to Special Operators, changes the kill feed to be less cluttered, fixes for SnD mount glitches, thermal scope updates, additional bug fixes across the game, and more.

Update – Nov. 22 at 10:52AM ET: Infinity Ward uploaded the patch notes for today’s update to Battle.net as well, but appears to have accidentally left an internal note that was not meant to be shown publicly under the changes to footstep audio.

The internal note states “This is a hot topic in the community, and this is not the change that they were hoping to see. Our core players want to see footstep volume dramatically reduced.

Here’s a picture of it, which you can see they also left an internal note about Gun Game in there too:

The full patch notes, as shared on Reddit, are below:

PATCH NOTES:

WHAT’S NEW

  • Special Operations: “Harbinger” and “Brimstone”
  • Classic Special Operations: “Door Kick”, 3 Star Rating System and Rewards
    • 3-star rating system (based on time completed)
    • XP & MP unlocks based on your star rating after finishing a game.
  • Multiplayer:
    • Realism Moshpit (Domination, Hardpoint, Headquarters, Kill Confirmed)
    • Gun Game
Post image
  • Fix for a bug where a player could spawn without a character model when spawning in on a friendly vehicle
  • Fixes for various exploits across all maps and modes
  • Fix for an issue where copying an opposing players loadout was also copying their killstreaks
  • Fix for the After-Action report not displaying newly acquired awards
  • Fix for player rank icons not appearing on the scoreboard
  • Shortened the amount of time an execution animation plays
  • Accessibility: Added the option to Always Sprint (Update: Infinity Ward says this is coming in the next update.)
  • Footsteps: Adjusted volume and sound type played for crouch walk and walking while Aiming Down Sights
  • Dead Silence: Fix for the Dead Silence Field Upgrade not lasting the correct amount of time when CDL rules are enabled
  • Fix for nameplates being visible in a certain location on Piccadilly
  • Updates to the obituary (killfeed); removed “Avenged” and “Save Player”, play of the game owner, and player rank increases
  • Fix for players being able to join a match even though they’ve been blocked

Private Match:

  • Added the option to disable the spawn camera
  • Fix for a bug where the ‘Starting Flags Captured’ private match option was not functioning as intended
  • Fix for the bomb screen appearing blank when defusing or planting the bomb in Search and Destroy with Realism enabled. Added bomb carrier indicator.

Killstreaks:

  • Fixed an issue where selected killstreaks would revert to the previous selection mid-match
  • Fix where players using the Shield Turret killstreak could see through smoke at certain angles with the side panels of the turret
Post image
  • Dead Silence: Fix for the Dead Silence Field Upgrade not lasting the correct amount of time when CDL rules are enabled
  • Thermal scopes are now able to see through smoke grenades
  • Added the option to disable the spawn camera
  • Fixed an issue where the mount interaction prompt was disappearing when planting or diffusing the bomb in Search and Destroy

1 Life Mode Fixes:

  • Fix for camera getting stuck on the death location when transitioning to spectate
  • Fix for the weapon not animating when sprinting at the beginning of the round

Infantry Assault Vehicle:

  • Reduced damage radius and lethality of the turret

Progression/Challenges/Missions Fixes:

  • Cleaned up and updated descriptions for various challenges
  • Officer Challenge: “Heads Up”
  • “Destroy Vehicles with Launchers”
  • “Doing Work”
  • “Aggression”
  • “Expert Gunsmith”
  • “One Trick Pony”

Lethals/Tacticals:

  • Fix for Decoy Grenade showing a red blinking light for both allies and enemies
  • Slightly brightened the player outline when using the Snapshot Grenade

Single Player:

  • Fix for a bug that could cause an error when selecting a mission

Perks:

  • Spotter: perk was not marking equipment, Field Upgrades, or Killstreaks through walls in FFA. Fix for Spotter perk not marking UAVs and slightly brightened outlines
  • E.O.D: Fix for players losing HUD elements after hacking an enemy claymore in certain scenarios
  • Fix for the “Quick Fix” perk not giving faster regeneration when earning kills with the throwing knife.
  • Fix for the “Amped” perk not stowing the Riot Shield as quickly as it should
Post image
  • Fix for rocket launcher camos not unlocking or tracking properly
  • Fix for the Model 860 camos not unlocking or tracking properly
  • FN SCAR 17: slight increase in ADS time, reduction to barrel and bipod grip penalties
  • Fix for a white placeholder box appearing when leveling up a weapon and unlocking new attachments
  • Added descriptions to all optics that have scope glint
  • Fixed an issue where the P90 + FFS Ring Sight would create a scope glint
  • Thermal scopes are now able to see through smoke grenades
  • Fix for charms not appearing where they should on various weapons

Leaderboards/Combat Records:

  • Fixed a bug where selecting “All” would sometimes kick the player back to the main menu
  • Added CTF and Hardpoint into Combat Records

Audio: Voice chat options:

  • No Effect – default voice chat. No additional effects or EQ adjustments
  • Stealth Comms – Bring the immersion of the Campaign into Multiplayer with added SAS radio effects to voice chat
  • Classic Chatter – Feeling nostalgic? Coordinate with your team using classic Modern Warfare radio effects

Special Operations:

  • Added munitions drops! After various objectives, a care package will drop to provide you with much needed munitions!
  • Various exploit fixes
  • Fix for an issue where players could lose functionality after using the EMP Drone in Operation Crosswind
  • Fix for crashes that occur when viewing the scoreboard from the match summary

Survival:

  • Fix for enemies spawning out of bounds on Piccadilly
Post image

New Features:

  • Added an option to hide Friend requests and Party Invitations
  • Added support for additional keyboard layouts on PS4

Stability:

  • Several fixes to prevent crashes and improve stability

General Fixes:

  • Fixed an issue where the boot up sequence volume would be too loud
  • Various keybinding adjustments
  • Players are now able to back out of the Gesture and Spray Wheel by clicking anywhere
  • More fixes to prevent hitching/stuttering during cutscenes
  • Fixed an issue where the Main Menu music would not play when users activated the Skip Introduction Movie option
  • Fix for an error that could occur when attempting to manage a party
  • Multiple fixes for different Aspect Ratios on various menus/screens in the game
  • Fix for a bug where the XP Token shortcut key would also open Nvidia Highlights feature simultaneously (Now on “F” key)
  • Fix for a bug where some achievements would appear as completed even though they were

SOURCE: Reddit

comments below