// 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: The three codes have been found within the maps in Call of Duty: WWII The Resistance DLC!

Enter these codes on the Classified Call of Duty site to unlock new The Resistance intel:


Entering those codes on the classified site unlocks the following new content on the website:

  • New documents with an overview of the MP content found within Call of Duty: WWII – The Resistance DLC Pack
  • 5 new Resistance themed wallpapers
  • Ability to complete the quest to receive a Resistance calling card (do note that the calling card has not become available in-game yet)

Thanks to r/WWII for finding the codes!

Activision released a new live action trailer on January 29 to celebrate the release of Call of Duty: WWII’s first DLC Pack, The Resistance. However, you may not have noticed that the trailer features some interesting teasers: the teasers in the trailer leads to specific locations in the MP Maps in The Resistance DLC Pack 1.

Here’s the 3 teasers in the trailer:

  • Teaser 1 (0:11 timestamp in trailer): As the two guys are communicating in the elevator in morse code, it translates to Molotov…referring to the molotov crate on the DLC map Anthropoid. A code is located on the crate.
  • Teaser 2 (0:32 timestamp in trailer): During the restaurant scene, a note is passed along containing the word ‘Dilní Bee Nida’anéhigíí,’ which is a Navajo word for a musical instrument. Find the accordion in the map Occupation to locate another code.
  • Teaser 3 (0:43 timestamp in trailer): During the conference room scene, a map is shown with ‘Operation Valkyrie,’ referring to the map Valkyrie in the DLC Pack. In the map shown at the time stamp in the trailer, there’s an X spot highlighting the location of a briefcase. Find the briefcase in-game at that spot and another code awaits.

Find the 3 codes in the different MP maps and redeem on the Call of Duty Classified site to see what new teasers await on the classified website.

Missed the trailer? You can watch it again now:

comments below