// 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 Call of Duty: Modern Warfare Remastered December Update is now live on PlayStation 4, Xbox One, and PC. The update is either 8GB or 16GB on PS4 and is a 27GB update on Xbox One. Size varies by region.

Full patch notes are at the end of the post. Highlights of the update:

The December Update brings 6 additional Call of Duty 4 maps and Winter Crash, alongside two new game modes, Gun Game and Hardpoint.

6 maps includes:

  • Bloc
  • Showdown
  • Pipeline
  • Countdown
  • Wet Work
  • Strike

In addition, Winter Crash is back! Winter Crash is live in the regular rotation now, and starting December 20, there will be a Winter Crash 24/7 playlist for the holidays.

Alongside the new maps, this update also brings two new game modes for the first time in Call of Duty: Modern Warfare Remastered: Gun Game and Hardpoint.

This patch update also introduces Supply Drops. Info here.

PATCH NOTES: 

Features:

  • Added Character Selection Options
  • Added Character Combat Uniform Options
  • Added Weapon Reticle Selection
  • Added Cosmetic Weapon Kits
  • Added Melee Weapons
  • Depot
    • Displays Collections
    • New Supply Drop System

New Multiplayer Maps:

  • Bloc
  • Countdown
  • Pipeline
  • Showdown
  • Strike
  • Wet Work
  • Winter Crash

New Game Modes:

  • Gun Game
  • Hardpoint

UI:

  • “Alive Counter” added in Search and Destroy
  • Allow Weapon Ping during a UAV in Hardcore
  • Removed false XP modifier UI from Private Match and LAN

Miscellaneous:

  • Smoke Grenade VFX draw distance increased
  • Weapon flinch and kick adjusted to match COD4
  • Melee attack traces adjusted to match COD4
  • USMC Sniper character model changed to more closely match CoD4
  • Several modifications to bots
  • Bug Fixes
    • Fixed “controller glitch” where the player’s weapon would continually fire
    • Fixed issue with losing killstreaks while changing classes on round bases modes
    • Fixed issue with third person emblem displaying improperly
    • Fixed issue with attachment challenges not resetting upon prestige
    • Fixed issue with the “Think Fast” medal applying from assisted suicides
    • Fixed issue with arms changing in the Firing Range
    • Fixed issue with switching teams in a match with limited lives
    • Fixed issue with field of view with spectators
    • Fixed issue with firing after spawning
    • Fixed issue with grenade impact damage with headshots only enabled
    • Fixed issue with Old School jump height in Firing Range
    • Miscellaneous code changes
    • (PC Specific) Fixed issue with Guest Account Rank

SOURCE: Activision Support: PS4, Xbox One, PC

comments below