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

Call of Duty: Mobile has arrived. Download Call of Duty: Mobile now on iOS and Android worldwide and experience Call of Duty on the go with this new experience.

Call of Duty: Mobile is Activision’s first large free to play venture in the mobile market, as the mobile gaming industry continues to expand at an incredible pace in my markets worldwide.

Here’s the direct download links:

Activision first announced Call of Duty: Mobile back at GDC event in March. The Mobile game is being developed in partnership with Tencent’s TIMI Studios.

Call of Duty: Mobile combines the best of the Call of Duty: Modern Warfare and Call of Duty: Black Ops series into a single experience on mobile, with a Multiplayer mode that features the best weapons and maps from the series and a Battle Royale mode which has iconic Call of Duty location. The Battle Royale mode unlocks in game after leveling up in MP. A Zombies mode is coming soon.

“We are delivering the definitive, first-person action experience on mobile with signature Call of Duty gameplay in the palms of your hands,” said Chris Plummer, VP, Mobile at Activision. “We are bringing together some of the best the franchise has to offer, including Modern Warfare maps like Crash and Crossfire, Black Ops maps like Nuketown and Hijacked, and many more, into one epic title. We’ve tested the game extensively in select territories and the feedback we’ve received has helped us refine the experience for October 1.”

Prepare for the definitive, mobile first-person action experience! The highly anticipated Call of Duty: Mobile will launch in many countries around the world* on October 1, 2019. This is a free-to-play game for both Android and iOS devices; a feature-rich game brimming with content, and for the first time includes brings together experiences from both the Modern Warfare® and Black Ops series of games! Also expect a fully-customizable control scheme, numerous modes of play, fan-favorite characters and weapons to choose from, as well a new, sprawling and suitably epic Battle Royale mode.

Fast and Fluid First-Person Multiplayer Combat

Begin your Call of Duty: Mobile career with a quick tutorial, after which you’ll have the option to explore the Loadout menu, customize up to five separate Loadouts with Primary and Secondary weapons, a Soldier type, an Operator Skill, Lethal and Tactical Equipment, and three Perks.

Every Operator in the game comes complete with three Scorestreaks, earned in-game by taking out enemies and completing objective tasks.

Rank up to earn and unlock classic Call of Duty characters, such as John “Soap” MacTavish and Simon “Ghost” Riley from the Modern Warfare series, as well as Alex Mason from the Black Ops series.

Jump into Multiplayer and choose a game mode from a selection of new and classic Call of Duty experiences such as Frontline, Team Deathmatch, Domination, Gun Game, and Search & Destroy. Pick a preferred map, like Nuketown, Hijacked, Crash and more. 

Battle Royale: Up to 100 Mobile Players Join the Fight

You’ll also drop into new Battle Royale mode; a massive test of survival on a huge and unique open map featuring undulating terrain and locales from across the Call of Duty universe. Expect to play in Solo, Duo, or Quad-player competitions, across land, sea and air with vehicles including an ATV, helicopter, and tactical raft. Gather weapons and equipment you’ll recognize from across the series. Play in either first or third-person perspective, and pick one of six Classes to play as, before you parachute in and the action begins!

The game is free to play and available now on iOS and Android devices worldwide.

The Call of Duty: Mobile game features a lot of microtransactions, as expected nowadays with free to play mobile games. The game features an in-game store and a Battle Pass system with Call of Duty Points.

comments below