// 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 has denied the reports that Jason Blundell has been fired from Treyarch.

The company sent out a statement to CharlieIntel today denying reports that went up earlier that Jason Blundell has left Treyarch after being part of the studio for years.

Here’s the statement that Activision sent:

While we typically don’t comment on rumor, as a personnel matter we feel it’s important to address. Jason has not been fired, and in fact, he continues to direct the zombies experiences for Black Ops 4. In addition, Jason, along with a handful of developers, are working with Activision to develop new creative opportunities.

Activision says in the statement that Blundell is working at Activision with ‘a handful of developers‘ as well for ‘new creative opportunities‘ at the publishing company. The company did not elaborate his exact role at Treyarch right now.

Jason Blundell was promoted to Co-Studio Head of Treyarch in 2016 to serve on the leadership team of the studio alongside Mark Gordon and Dan Bunting. He still at the studio, but it’s not sure if he remains Co-Studio Head.

In terms of Zombies, the studio launched Call of Duty: Black Ops 4 with the most content ever in Zombies with four new maps included on Day 1 – something the team hasn’t done before. The game’s Zombies mode was met with negative response over constant crashes leading many die hard Zombies fans unable to complete Easter Eggs for weeks as Treyarch worked to fix the issues.

Treyarch has released three out of the four Zombies DLC maps for the title thus far with the first two continuing the new Chaos Story and now the last two wrapping up the Aether Story in Zombies. Black Ops 4’s Zombies is still missing the promised feature of Factions, which was announced for the game back in May 2018 at the game’s reveal event. There’s still no indication as too when this feature will arrive.

Craig Houston, writer of Zombies, has been showcasing himself as a prominent Zombies team member as part of the studio live streams the past few months. Blundell has been absent in the public eye.

comments below