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

The second week of the CWL Pro League for Call of Duty: Black Ops 4 begins on Monday, February 11 and features matches weekly on Mondays through Thursdays.

The CWL Pro League will feature 16 of the best teams in Call of Duty. The competition will span from February 4th to July 5th. The Pro League is split into two divisions, A & B. At the end of the season, the top 4 teams from each division will advance to the CWL Finals, a new event that will take place at a yet to be announced venue in July.

Additionally, players will earn pro points for every match. Pro point determine seeding at future events.

As an extra incentive for teams to keep trying even if they can’t make the playoffs, each win will net the teams a $2,500 bonus.

Schedule:

Week 2 Final Standings:

Division A Standings:

RankTeamWL
1Gen.G
61
2Midnight52
3OpTic Gaming43
4Red Reserve43
5UYU34
6Luminosity34
7Reciprocity25
8Evil Geniuses16

Teams

Division A:

  • OpTic Gaming: Scump, Crimsix, TjHaly, Karma, Dashy, Zooma
  • Luminosity: Slacked, Formal, Gunless, John, Classic
  • Gen.G: Havok, Spacely, MajorManiak, Nagafen. Maux
  • Evil Geniuses: FeLo, faccento, Goonjar, Xotic, Royalty
  • Red Reserve: Joe, Bance, Rated, Skrapz, Zer0
  • Reciprocity: Zed, Denz, Seany, Tommey, Wuskin
  • UYU: Methodz, Mayhem, Knight, Proto, Skyz
  • Midnight: LlamaGod, JetLi, Brack, Parzelion, Envoy

Division B:

  • Splyce: Accuracy, AquA, Loony, Temp, Jurd
  • eUnited: Clayster, JKap, Arcitys, Prestinni, aBeZy
  • 100 Thieves: SlasheR, Octane, Kenny, Priestah, Enable
  • Team Envy: ACHES, Assualt, Apathy, Silly, Huke
  • Heretics: Lucky, Methodzsick, JurNii, Sukry, MeTTalZ
  • Excelerate GG: FA5TBALLA, Beehzy, MRuiz, Believe, ProFeeZy
  • Denial Esports: Natshay, Breszy, Zeeked, rizK, Wailers
  • Enigma6: General, Frosty, Kade, KISMET, Diabolic

The Call of Duty World League Season will feature weekly matches as part of the Pro League for the next several months. Stay tuned to charlieINTEL for the latest news on the CWL season!

comments below