// 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 third DLC Pack for Call of Duty: WWII, United Front, is available on now on Xbox One (coming later today to PC).

United Front DLC Pack 3 features three MP maps, a new War Operation, and the next chapter of the Nazi Zombies saga, The Tortured Path.

Multiplayer Maps: 

  • Market Garden: The Market Garden in Call of Duty: WWII is set against the backdrop of Operation Market Garden, one of the largest airborne operations in the European Theatre. This is where you will fight off the Axis advances to try and maintain control of an Allied mansion base. Set in the Netherlands, this map brings intense tight-quarters combat with gunfights waiting around every corner. What was once an opulent mansion is now in war-torn shambles as flames begin to overtake the structure. In the distance, you can see and hear bombs dropping, while all around you is the evidence of the war. From the Allied fighter plane downed in the river, to the makeshift field hospital in one of the outbuildings, the team at Sledgehammer Games has put extra care and detail in immersing players into an authentic scene from this moment in the War.
  • Monte Cassino: Join the Italian campaign in Monte Cassino. Nestled below a mountaintop monastery, this war-torn village offers rich verticality with rooftop vantage points and sneaky flank paths along the cliffs.
  • Stalingrad: Based on the largest confrontation in World War II history, features two main bases located on opposite sides of a war-torn city. Snipers can focus on securing key perches to control the map’s center, while run-and-gunners can sneak through the underground sewers to flank behind enemy lines.

War Operation: 

  • Operation Supercharge: Named after the Second Battle of El Alamein, Field Marshal Montgomery and the Allied Forces pushed the Germans and Italians to retreat from their last significant defensive position in southern Tunisia. In this all new mission, the Allies airdrop into Tunisia and push into a Nazi-occupied village to capture key supplies, then cripple the enemy by detonating a key transport bridge. They then make the final knock-out blow by capturing entrenched Axis fortifications.

MP Trailer:


Zombies: 

  • The Tortured Path: The Allied forces are crumbling under the relentless advance of the Final Reich. General Rideau decides to take one last, dangerous gambit: to personally lead a small, unmarked caravan across the 2,000 miles of smoldering, infested land that stand between Berlin and the Allied-controlled port of Malaga. From there, he and his crew face a treacherous voyage across icy southern waters and U-boat blockades. His mission? Transport the remaining pieces of Emperor Barbarossa’s legendary sword to the edge of the world. Uncover the lost forges of ancient Thule. Make the sword whole again… and deliver a final death to the Undying. Experience the all-new Nazi Zombies gameplay, which transports players across three unique and challenging locations, only in the United Front DLC Pack.

Zombies Trailer:


Call of Duty: WWII United Front DLC Pack 3 is available now on PlayStation 4, Xbox One, and PC. The United Front DLC Pack 3 can be purchased separately for $14.99 or as part of the Season Pass for Call of Duty: WWII.

comments below