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

Relive one of the most iconic campaigns in Call of Duty’s history.

Pre-purchase select editions of Call of Duty: Infinite Warfare* at participating retailers or digitally and start playing Call of Duty: Modern Warfare Remastered’s campaign now on PlayStation 4.

Pre-purchased at a Retailer:

If you pre-purchased Call of Duty: Infinite Warfare’s Legacy or Legacy Pro edition at a participating retailer, contact them to get a code if you did not get one already. Majority of the participating retailers have already sent out a download code for the game.

Once you get a code, redeem it on the PlayStation Store, and the Call of Duty: Modern Warfare Remastered campaign will start to download.

A full list of all the retailers participating in this offer is available here. If you have any additional questions, please contact your retailer for more info.

If you are having troubles downloading, please check the FAQ on Activision Support site here for more info.


Pre-purchased Digitally:

If you pre-purchased select editions of Call of Duty: Infinite Warfare* digitally on the PlayStation 4 store, you should now be able to download and play Call of Duty: Modern Warfare Remastered’s campaign mode.

No code is required for digital pre-purchases.


This offer is available from now through November 3rd — meaning, if you pre-purchase Call of Duty: Infinite Warfare’s Digital Legacy or Digital Deluxe Edition between now and November 3rd on the PlayStation 4 Store, you will be granted immediate access to Call of Duty: Modern Warfare Remastered’s campaign. Activision Support states that this offer expires at retailers after October 5.

All of your progress you make in this early access time period will transfer over to the final game on November 4. On November 4, once Call of Duty: Infinite Warfare and Call of Duty: Modern Warfare Remastered are available, you will be required to re-download the full, final version of Call of Duty: Modern Warfare Remastered, alongside Call of Duty: Infinite Warfare.

During this early access period, players will be able to earn trophies for the Call of Duty: Modern Warfare Remastered campaign.

Xbox One and PC players can get access to Call of Duty: Infinite Warfare, alongside Call of Duty: Modern Warfare Remastered, on Friday, November 4.


*This offer applies only to pre-purchase of Call of Duty: Infinite Warfare’s Legacy, Digital Legacy, Digital Deluxe, and Legacy Pro editions at participating retailers only on PlayStation 4. 

comments below