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

One of the biggest topics as part of Activision Blizzard’s 2018 Q4 Quarter Earnings call was how the company plans to adjust to refocus on boosting revenue after new competition in 2018 effected the company’s overall position in the gaming industry.

As part of that, the company stated that they intend to lay off 8% of their work force, which means 800 people will no longer have a job – even after Activision Blizzard CEO said that 2018’s revenue exceeded their expectations.

The company plans to prioritize game development across all parts of their business, and Call of Duty is also getting new attention within Activision.

During the call, Activision Blizzard Chief Operating Officer, Coddy Johnson, said that they are investing more resources into Call of Duty’s development to better engage players year round with fresh content. In addition, they plan to accelerate the expansion of the franchise to new platforms and geographies, including mobile.

For Call of Duty, Activision management expects additional resources to deliver more frequent content updates and events for the franchise and accelerate its expansion across platforms and geographies.

Johnson also said they plans to increase coordination across the studios to better align Call of Duty titles and releases for a better user experience.

We are also increasing coordination across our Call of Duty studios with unified development leadership and more unified tools and technology to create a more consistent user experience and leverage our development scale and expertise. 

Activision’s newly appointed President, Rob Kostich, also spoke briefly on how they plan to re-engage the community with Call of Duty with better resources and more content. Kostich said they have the biggest content release for Call of Duty: Black Ops 4 on February 19 with the new operation for the game.

Now in terms of Black Ops 4, it delivered better unit sales than Black Ops 3 in its launch quarter. So what we have is a really strong foundation of players right now and our biggest objective is to driving on going engagement with our community. Now the good news is we have our best in game content coming still. Our next event, on February 19, will be what we believe our biggest and best in game event, and it’s going to have significant updates across all modes. And we’re looking forward to see how that lands and resonates with the community. 

What this means for the future of the franchise and how content releases will work has yet to be seen. Activision says that they expect modest results in revenue while they continue to work on this restructuring of the company.

comments below