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

Activision Blizzard announced their first quarter 2019 results, and as part of the release, Activision Blizzard has announced that the company has sold the first five city spots for the franchised Call of Duty league, which the company has been working on launching for a while.

The first five teams to join the franchised Call of Duty league are owned by the same owners behind the Overwatch League teams in the cities.

Here are the first five teams:

  • Atlanta (Owned by Atlanta Esports Ventures)
  • Dallas (Owned by Team Envy)
  • New York (Owned by Sterling VC with New York Mets owner)
  • Paris (Owned by c0ntact Gaming, LLC)
  • Toronto (Owned by OverActive Media)

“We started the year with strong operating discipline and exceeded our prior outlook for the first quarter. We are increasing investment in our biggest franchises to better deliver against our growth potential, and I am pleased with our progress,” said Bobby Kotick, Chief Executive Officer of Activision Blizzard. “We’re continuing to enhance our leadership position in esports. The second season of the Overwatch League™ has seen strong growth in viewership, and we’re seeing enthusiastic demand for our professional, city-based Call of Duty® league franchises. We have already sold the first five Call of Duty teams in Atlanta, Dallas, New York, Paris and Toronto to owners who recognize the scale of the opportunity from their partnerships with us on the Overwatch League.”

A few additional details on the city teams was mentioned in the company’s financial results highlights:

The Company’s professional Call of Duty city-based league is off to a strong start, selling its first five franchise teams. In Atlanta, Dallas, New York, Paris and Toronto, we are partnering with existing Overwatch League team owners who have first-hand experience of our esports strategy and capabilities and recognize the scale of the opportunity for a global Call of Duty league.

ESPN first reported earlier this year that Activision Blizzard was asking for $25 million per each city spot, a number many thought no one would pay for. Thus far, the interest, according to Activision Blizzard, has been high. Activision Blizzard has been discussing bringing the Overwatch League’s implementation to Call of Duty esports for years now, and the company is finally on track to do so.

No details on when the franchised Call of Duty World League will start has been announced by the company for now, but it is expected to start with the 2020 Call of Duty esports season.

During the investor call, Activision Blizzard CEO said that more details on how the franchised Call of Duty league will work will be announced in the coming months.

comments below