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

On January 31st, Treyarch released the Pro Moshpit playlist as a prelude to League Play, but the feature isn’t perfect.

The Pro Moshpit playlist provides an in-game playlist to play Black Ops 4 as the pros do. It is the first in-game competitive feature since the game’s release apart from the CWL ruleset in Custom Matches.

The feature has been widely played by gamers ready to get their hands on League Play when it arrives mid-February. While the playlist is a welcome addition, we believe it could be improved significantly with a few simple changes.

First, Friendly Fire parameters should receive a change of some sort. The current system allows for one teamkill with no penalty and then an immediate kick on the second teamkill. While this does deter trolling, it also leads to a whole lot of 4v5 games. Black Ops 4 is fast-paced and teammates will naturally get into the way of some friendly fire. Even in professional matches, team-killing is quite common.

We suggest either raising the kill limit to around 4 or 5 per player, introducing a “vote to kick this player?” feature similar to Halo titles (this would take longer to implement), or a simple removal of Friendly Fire. We understand the importance of Friendly Fire, but perhaps Treyarch could create a version of the setting which only applies to killstreak damage.

Second, the gamemode lacks a dedicated lobby as it is a simple playlist. This is understandable as it serves only as a stepping stone to League Play’s release. With that said, the lack of a dedicated lobby means player’s cannot see what items are not allowed until they are in a match OR inside a multiplayer lobby screen.

The CWL ruleset can be found of websites such as Gamebattles or Call of Duty’s own website, but we believe an in-game ruleset listing should be added. Player should not have to go to an external source to view a full listing of bans. A simple pop-up textbox with the ruleset would do just fine.

These simple changes could help smooth out the experience currently available in the Pro Moshpit playlist. The playlist does primarily serves as an appetizer to League Play, but still deserves simple updates to ensure gameplay quality is upkept.

You can find more opinions, news, guides, etc. on CharlieIntel daily and be sure to follow us on Twitter at @CharlieIntel.

comments below
A life-long Call of Duty player, Bachelor of Game Design, and a lover of eSports. Floodsye is my real name, Tommi is just the gamertag my parents gave me.