// 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 officially announced the developer panels that will be taking place during the Call of Duty XP event. These panels are for attendees of the event, and Activision has not said if they will be live streamed.

Here’s the schedule:

  • Building the Zombies Universe: A Candid Conversations with Members of Treyarch’s Zombies Development Team
    • When: Friday, September 2 @ 3:30pm PST
    • Panelists: Jason Blundell (Director of Zombies – Treyarch), Craig Houston (Lead Writer – Treyarch)
    • Moderator: John Rafacz, Director of Communications & Social Media
    • Description: Director of Zombies, Jason Blundell and Lead Writer, Craig Houston discuss the long-running narrative of the storied Black Ops Zombies saga and its climactic end with Revelations. Blundell and Houston will discuss the development history of Zombies, construction of its universe, the evolution of its story and its characters, and conduct a Q&A with fans.
  • The Music of Call of Duty: Infinite Warfare 
    • When: Friday, September 2 @ 5pm PST
    • Panelists: Stephen Miller (Audio Director – Infinity Ward), Sarah Schachner (Composer), Jonathan Mayer (Senior Music Manager/Producer – Sony Interactive Entertainment)
    • Moderator: Ashton Williams (Community Manager – Infinity Ward)
    • Description: An in-depth conversation about what it takes to make remarkable, Call of Duty-worthy music and audio across all games modes for Infinite Warfare. Panelists will explore the musical themes of Infinite Warfare, what they signify, how they relate to in-game characters, items, events, or scenarios, and unpack the music and audio implementation for the game. Go on a behind-the-scenes journey of the recording process and be ready for unique soundtrack announcements.
  • Creating the World of Call of Duty: Infinite Warfare – Navy meets NASA Design
    • When: Saturday, September 3 @ 2pm PST
    • Panelists: Aaron Beck (Principal Concept Artist – Infinity Ward), Thomas Szakolczay (Lead Concept Artist – Infinity Ward), John Dobbie (Environment Art Lead – Infinity Ward), Joby Harris (Visual Strategist), and Peter Meakin (Spacecraft Systems Engineer)
    • Moderator: Brian Horton (Studio Art Director – Infinity Ward)
    • Description: A look at the game aesthetic of Infinite Warfare and how “Navy meets NASA” design inspired the game’s unique creations and appearance. The panel will include a deep dive into how these seemingly disparate elements work, or why they needed to be fictionalized for the space setting. We’ll also explore the functionality and practicality of real-life Navy and NASA designs and how they inspired in-game designs. In addition, fans can learn more about Infinite Warfare’s vehicles, robot design, level design, game locations, overall look, and more. A sneak peek at how we made select Calling Card art with some special surprises.
  • The Making of Call of Duty: Modern Warfare Remastered
    • When: Saturday, September 3 @ 3:30pm PST
    • Panelists: David Pellas (Studio Director – Art & Design – Raven Software), Mike Denny (Lead Designer – Infinity Ward), Oscar Lopez (Multiplayer Designer – Infinity Ward), Thomas Wilson (Co-Studio Head – Beenox), David Mertz (Design Director – Certain Affinity)
    • Moderator: Jeremy Soule (Sr. Manager of Employee Communications – Activision Publishing)
    • Description: Developers from Infinity Ward, Raven Software, Beenox, and Certain Affinity provide an inside look into the remastering of the critically-acclaimed Modern Warfare. Panelists will discuss the process of remastering the classic game, the creative vision behind upgrading gameplay and aesthetics, and conduct a Q&A with fans.
  • Sledgehammer Games – The Seven Year Journey
    • Panelists: Michael Condrey (Co-Founder & Studio Head), Glen Schofield (Co-Founder & Studio Head)
    • When: Saturday, September 3 @ 5pm PST
    • Moderator: Russell Richardson (Cormack, Call of Duty: Advanced Warfare)
    • Description: Over the last seven years, Sledgehammer Games has grown from its two founding fathers in a temporary office space in 2009 to over 250 developers today in a two-story Bay Area development studio – including a satellite office in Melbourne, Australia. During the Seven Year Journey panel at Call of Duty XP, we’ll take a deep dive into Sledgehammer Games’ development process with studio heads Glen Schofield and Michael Condrey, hear behind-the-scenes stories from the development of Call of Duty: Modern Warfare 3 and Call of Duty: Advanced Warfare, and they’ll answer some of your questions about their studio. And who knows – they may share some studio and game secrets, reveal undiscovered Easter Eggs, and shed some light on mysterious past projects!
    • Be sure to stick around afterwards for a fan meetup, swag giveaway, and a meet-and-greet with some of the cast members of Call of Duty: Advanced Warfare!

We’ll be at the Call of Duty XP event and will post any news that does come from all of these panels. Be sure to follow us on Twitter, Facebook, and Instagram for the latest news.

SOURCE: Activision via @ClaireJeepChick

comments below