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

UPDATE 14 – April 16th: A new 7 second video clip has been uploaded.

UPDATE 13 – April 16th: A new 3 second video clip has been uploaded.


UPDATE 12 – April 15th: A new 10 second video clip has been uploaded.

 

UPDATE 11 – April 15th: A new 4 second video clip has been uploaded.

UPDATE 10 – April 13th: A new 10 second video clip has been uploaded.

 

UPDATE 9 – April 13th: A new 4 second video clip has been uploaded…”The human mind holds many mysteries.”

UPDATE 8: A new 8 second video clip has been uploaded.. “Our greatest barrier is our own fear….our own doubts.”  

 

UPDATE: 7: A new 6 second video clip has been uploaded…no voice over on this one.

 

 

UPDATE 6: A new 3 second video clip has been uploaded showing birds flying around…  

UPDATE 5 – April 8th: A new 6 second video clip has been uploaded..no voice over this time.

UPDATE 4: A new 10 second video clip has been uploaded… “Imagine somewhere calm..imagine somewhere safe…imagine yourself in a frozen forest.”

UPDATE 3: A new 2 second clip has been uploaded. Adding some filters to the image (seen on the right), appears to reveal the text “Dr Salim” above the moon:

Minor UPDATE: The account name on Snapchat has been updated to “Dr. Salim.”

UPDATE 2: A new Snapchat story is now live with another 10 second teaser…saying “Let your thoughts drift…let the bad memories fade…let peace be upon you.”

UPDATE: The first Snapchat is now live with a 10 second teaser saying “listen only to the sound of my voice…”

 

Original Story:

The hype train is leaving the station earlier this year, it looks like the next Call of Duty reveal is imminent so get your social media accounts ready.

Black Ops 2 received a tiny update earlier today (which was even hinted by David Vonderhaar), and now Drift0r has just uploaded a new video showing certain posters on two maps in Black Ops 2 have a new “ghost icon,” which happens to look like the snapchat logo. In fact, it’s actually a Snapchat QR code. Upon scanning the QR code within the Snapchat app, it says “callofduty is already your friend” (if you already added them). If not, it starts following them on your account.

It seems as if this may be related to Call of Duty 2015. We’ll update as we learn more… Stay frosty 😉

comments below