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

Treyarch has released the latest update for Call of Duty: Black Ops 4 on PlayStation 4.

This update marks the release of Operation Dark Divide for Call of Duty: Black Ops 4, which begins now on PlayStation 4. The new Operation will be available starting Sept. 30 on Xbox One and PC.

This new Operation brings a new Contraband stream, new modes in Blackout, the final Black Ops Pass content drop, and more. Operation Dark Divide brings a new Contraband stream with 50 tiers, and the 50th tier has an Ultra Weapon Bribe. There’s three new weapons, including the return of the AN-94 and VMP, as part of this update, alongside new Mastercrafts and MKII weapons.

Here’s the overview of what’s in this new Operation with the Road Map shared on stream:

The theme of this Operation is superhero vs villains with LTM modes in Blackout that features players with advanced ability to fly around and fight enemies through new vehicles and abilities for this Operation, which was shown in the trailer.

In MP, there’s two new maps for Black Ops Pass owners – Lair and Launch. There’s also new weapons and more for players to checkout in Call of Duty: Black Ops 4 Operation Dark Divide. There does not appear to be a new Specialist with this Operation for the game. All of the previous Operations of the year did include one, so it’s interesting the studio decided not to bring one for this finale Operation.

Zombies fans get the end of the Aether story with Tag der Toten, and there’s also a new Zombies Gauntlet for the map.

  • New Blackout Updates – Blackout features a fresh new comic book aesthetic. Additionally, players can now double-jump and catch some serious air in the limited-time game mode, Heavy Metal Heroes. With Heavy Metal Heroes new equipment such as flare guns and a brand-new tank vehicle have also been added to the battlefield to help players in the ultimate Battle Royale fire-fight.
  • New Zombies Features – Operation Dark Divide introduces a new Perk and two new Elixirs as players experience the final chapter of the Aether story.
    • Secret Shopper Elixer: Players will be able to go on an ammo shopping spree and buy any ammo for any gun they’re holding from any wall buy.
    • Power Vacuum Elixer: The drop rate for all power ups is boosted significantly for a few minutes after activating.
    • Blaze Phase Perk: Players can become a charging fireball that knocks enemies back or burns them to a crisp.
  • New Black Market Gear – The Black Market has been restocked with a variety of new outfits fit for both heroes and villains, personalization items, weapon camos and gestures tailored for Operation Dark DivideThis includes new weapons like the VMP SMG, AN-94 Assault Rifle and the Echohawk Dual Bore Assault Rifle, that players can acquire and learn to master. Also available are the MkII and the Mastercraft variants of the VKM 750, the Predator S6 Stingray Mastercraft, and two super outfits for Nomad (“Lupine”) and Crash (“Rigor Mortis”).
comments below