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

UPDATE – Feb 23: The playlist update is now live in Call of Duty: WWII on PS4, Xbox One, and PC. The changes are listed below.


Sledgehammer Games has announced that they are rolling out Sprint Out Times update and a weapon tuning patch update for WWII starting tomorrow, February 23.

On Reddit, SHG shared the preview of the notes for the incoming update, which includes ADS updates to specific weapon classes, alongside many weapon tuning updates for Call of Duty: WWII. This update will effect esports modes, alongside general MP playlists.

Here’s the details about the new update:

ADS TRANSITION TIMES/ADS FROM SPRINT TIMES/ADS SPRINT OUT TIMES:

SMGs

  • Buffed base ADS times and buffed ADS in from sprint times (ADS sprint out times match ADS from sprint times)

Rifles

  • Buffed base ADS transition times, but not ADS from sprint times/ADS sprint out times, in an effort to maintain a difference between the SMG and AR class playstyles

Snipers: Kar98k and M1903

  • Nerfed ADS transition times (a slight quickscoping nerf)

LMGs

  • Buffed base ADS times

Note: Base ADS times for SMGs are faster than Rifles, and Rifles are faster than LMGs. In other words, there is now more of a distinction between class playstyles.

WEAPONS:

MP-40

  • Buffed recoil in an effort to have a more competitive SMG on par with the PPSh-41

FG 42

  • Nerfed fire rate so that the damage output is more in line with other weapons in its class

SVT-40

  • Buffed recoil in an effort to make it more manageable to shoot down range and give a better contrast to the M1 Garand
  • Nerfed hip spread to match the M1 Garand’s in an effort to decrease the ability to quickly kill opponents at closer ranges

M1A1

  • Buffed fire rate in an effort to make it a more competitive choice amongst the other rifles (still slightly slower than the Gewehr 43)

Gewehr 43

  • Buffed fire rate in an effort to make it a more competitive choice amongst the other rifles (still slightly faster than M1A1)
  • Buffed recoil (closer to that of M1A1)
  • Buffed clip size to be 12 rounds per clip instead of 10

M30 Luftwaffe Drilling

  • Buffed damage per pellet to be on par with the recent Sawed-Off Shotgun changes so that this shotgun now has a more automatic 2-shot kill and a slightly more forgiving one-shot kill
  • Buffed shotgun damage range, so that it’s now more feasible to finish off an opponent who didn’t die from a rifle bullet
  • Buffed ADS spread to allow for greater accuracy when shooting enemies that are outside of the obvious shotgun range (while ADS)

Toggle Action

  • Buffed clip size to be 8 shots per clip instead of 6 in an effort to allow players to have more success with this weapon
  • Nerfed ADS spread to be on par with other shotguns (besides the M30)

SOURCE: SHG

comments below