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

As we have made it through the Call of Duty: Modern Warfare Multiplayer Reveal, this game does have the most content and variety of content in it at launch that Call of Duty has not seen in a few years.

The reveal on August 1 showcased that Infinity Ward is bringing the new 2v2 Gunfight experience, standard 6v6 mode, a new 10v10 mode, a 20v20 large map mode, and Ground War with more than 100 players.

There is a mode for anyone to play for those who want to experience different player counts, different map styles, and more in Call of Duty: Modern Warfare.

Activision confirmed that Call of Duty: Modern Warfare will not have a Season Pass, and all post launch maps will be free for everyone. This is the first time in Call of Duty history that post launch DLC Maps will not be a paid thing.

The Season Pass in Call of Duty started in 2011 with Call of Duty: Elite with Call of Duty: Modern Warfare 3, and since then, there has always been a $50 Season Pass included with the game. Majority of the gaming industry had moved on from paid DLC a few years ago, but Activision decided to live in the past up until this year.

And, the company has confirmed that there will be Cross-Play in Call of Duty: Modern Warfare, bringing together PS4, Xbox One, and PC players together so that all players can join into any lobby and play with any Call of Duty: Modern Warfare player.

All of the above sounds incredible. Call of Duty offering a variety of ways to play the game; Activision eliminating the Season Pass; and Cross Play support.

There’s one thing that can completely bring down this year’s Call of Duty game: the microtransaction system.

Call of Duty has had a rough history with the microtransaction system. Microtransactions, MTX for short, were introduced to Call of Duty with Black Ops 2 with the ability to buy camos and items separately. With Advanced Warfare, Activision introduced the ability to buy Supply Drops, one of the most controversial MTX systems in the gaming industry today.

Infinity Ward games, however, have usually had a fair MTX system overall. Call of Duty: Infinite Warfare did feature Supply Drops and stat changing weapon variants, but the studio did allow new weapons to be unlocked via challenges and the Season Pass. Infinity Ward also had Collections and ways to break down items to earn credits to continue to build other variants.

But, many fans are worried about what Call of Duty: Modern Warfare will have as this year’s game, Call of Duty: Black Ops 4, has had one of the worst systems that Call of Duty has ever seen. Back in May, Activision executives said that they were “testing” out new MTX systems in Black Ops 4 for the “the current game” and the “future” which led many players to wonder if Black Ops 4’s system would come into Modern Warfare.

Call of Duty: Black Ops 4 has one of the worst systems that Call of Duty has ever seen before: weapons locked behind loot boxes, $30 hammers, camos locked in the shop only, and systems that makes it seem like it’s a free to play game, versus a $60 game with $50 Season Pass.

The MTX system is the one thing that can bring down Call of Duty: Modern Warfare. Modern Warfare seems to be one of the most content rich Call of Duty game the franchise has seen in years; multiple different play-style modes, maps designed for each of the modes, a full campaign, and a Spec-Ops mode.

How Activision determines the MTX system in Modern Warfare will determine how the next year goes, and we hope that the company has learned from their mistakes to make a better game for the fans.

comments below