The 14 Best Antiperspirants for Extra-Sweaty Pits (2024)

Table of Contents
Products in the Guide Best Overall Antiperspirant Deodorant Best Upgrade Antiperspirant Deodorant Best Affordable Antiperspirant Deodorant Best Clothes-Protecting Antiperspirant Deodorant Best Antiperspirant Deodorant for Scent Lovers Best Scented Antiperspirant Deodorant Best Aloe Antiperspirant Deodorant Best Sustainable Antiperspirant Deodorant Best All-Body Antiperspirant Deodorant Best Antiperspirant Deodorant for Hyperhidrosis Best Odor-Neutralizing Antiperspirant Deodorant Best PM Antiperspirant Deodorant Best Mass-Market Antiperspirant Deodorant Best Cooling Antiperspirant Deodorant Are Antiperspirants Bad for You? Understanding the Active Ingredients in Antiperspirants Avoiding Antiperspirant Stains Certain Dri Prescription Strength Clinical Antiperspirant Deodorant Pros Cons Helmm Compass Starter Kit PV Sport Deoderant Pros Cons Dove Men+Care Antiperspirant Deodorant Dry Spray Pros Cons Degree UltraClear Black+White Antiperspirant Deodorant Pros Cons Harry’s Odor & Sweat Control Antiperspirant Pros Cons Jack Black Pit Boss Antiperspirant Pros Cons ZeroSweat Antiperspirant Deodorant with Aloe Pros Cons Tom’s of Maine Mountain Spring Antiperspirant Pros Cons SweatBlock Antiperspirant Lotion for Hands & Feet Pros Cons Carpe Underarm Antiperspirant Pros Cons Arm & Hammer Ultra Max Deodorant (Pack of 2) Pros Cons Duradry 3-Step System Pros Cons Old Spice Pure Sport Solid Deodorant (Pack of 2) Pros Cons Dry Ice Cooling Antiperspirant + Deodorant Pros Cons Related Topics References

Home / Grooming / Buying Guides

The best options for when you need a little help managing your moisture.

The 14 Best Antiperspirants for Extra-Sweaty Pits (1)Duke Cannon, Amazon, Walmart

The 14 Best Antiperspirants for Extra-Sweaty Pits (2)The 14 Best Antiperspirants for Extra-Sweaty Pits (3)The 14 Best Antiperspirants for Extra-Sweaty Pits (4)

By Evan Malachosky, Jacorey Moon, and Adam Hurly

Published

·

Every product is carefully selected by our editors. If you buy from a link, we may earn a commission.Learn more

The conversation around deodorant has largely steered itself towards natural products. It’s great to see consumers being so conscious of the ingredients in their grooming regimen, especially since the long-term effects of aluminum — the key ingredient used in antiperspirants — are still somewhat nebulous.

Products in the Guide

  • Certain Dri Prescription Strength Clinical Antiperspirant Deodorant

    Best Overall Antiperspirant Deodorant

    Read more
  • Helmm Compass Starter Kit PV Sport Deoderant

    Best Upgrade Antiperspirant Deodorant

    Read more
  • Dove Men+Care Antiperspirant Deodorant Dry Spray

    Best Affordable Antiperspirant Deodorant

    Read more
  • Degree UltraClear Black+White Antiperspirant Deodorant

    Best Clothes-Protecting Antiperspirant Deodorant

    Read more
  • Harry’s Odor & Sweat Control Antiperspirant

    Best Antiperspirant Deodorant for Scent Lovers

    Read more
  • Jack Black Pit Boss Antiperspirant

    Best Scented Antiperspirant Deodorant

    Read more
  • ZeroSweat Antiperspirant Deodorant with Aloe

    Best Aloe Antiperspirant Deodorant

    Read more
  • Tom’s of Maine Mountain Spring Antiperspirant

    Best Sustainable Antiperspirant Deodorant

    Read more
  • SweatBlock Antiperspirant Lotion for Hands & Feet

    Best All-Body Antiperspirant Deodorant

    Read more
  • Carpe Underarm Antiperspirant

    Best Antiperspirant Deodorant for Hyperhidrosis

    Read more
  • Arm & Hammer Ultra Max Deodorant (Pack of 2)

    Best Odor-Neutralizing Antiperspirant Deodorant

    Read more
  • Duradry 3-Step System

    Best PM Antiperspirant Deodorant

    Read more
  • Old Spice Pure Sport Solid Deodorant (Pack of 2)

    Best Mass-Market Antiperspirant Deodorant

    Read more
  • Dry Ice Cooling Antiperspirant + Deodorant

    Best Cooling Antiperspirant Deodorant

    Read more

Are Antiperspirants Bad for You?

Currently, the various studies on aluminum all contradict and negate one another. Some say excessive exposure causes Alzheimer’s or dementia, while others claim this is hullabaloo when considering the light-dose application of deodorants. Without conclusive evidence on the matter, aluminum antiperspirants are still widely sold. (And largely viewed as harmless.) And like many products on the market, they are effective at the job they set out to do.

That’s why we still find value in touting antiperspirants. Until there is conclusive evidence that sways us one way or the other, we say this: Buy antiperspirants if you absolutely need them. They work. Some people who experience non-stop sweating (diagnosed as hyperhidrosis) will swear by antiperspirants since they allow these individuals to go about their day without swimming in their own body’s soup.

Understanding the Active Ingredients in Antiperspirants

The most common active ingredients in antiperspirant deodorants are aluminum chlorohydrate, which you’ll find in aerosols and other applicators, and aluminum zirconium tetrachlorohydrex glycine complex, in solid sticks. Both do similar jobs. They block your sweat glands to prevent moisture from exiting. That’s good if you sweat a lot but bad if your sweating is only mild.

In that case, a normal, natural deodorant would work because it’s only addressing the bacteria that cause body odor, not sweat. Folks who fear developing cancer or dementia from using antiperspirants with aluminum shouldn’t stress; there is little to no evidence of an association between aluminum and cancer development.

Avoiding Antiperspirant Stains

When the sweat that breaks past aluminum’s physical barrier combines with these active ingredients, they become staining agents capable of yellowing white T-shirts. It’s the reaction that causes this color, not your natural sweat.

If you use an antiperspirant and spend a day under the sweltering heat, you’re bound to have some sweat that breaks through — and that’s when staining happens. It’s smart to reapply before this happens or invest in a longer-lasting formula.

The 14 Best Antiperspirants for Extra-Sweaty Pits (5)Amazon

Best Overall Antiperspirant Deodorant

Certain Dri Prescription Strength Clinical Antiperspirant Deodorant

Pros

  • Has clinical strength
  • Lasts up to 72 hours

Cons

  • May irritate skin if applied incorrectly

Active Ingredients: Aluminum chloride

Ounces: 1.2 Fl Oz

Scents: Unscented

If your sweaty situation is exactly that — a full-on situation — then you should talk to your doctor about using clinical-strength antiperspirants. Typically they will recommend one with aluminum chloride, as opposed to the traditional aluminum zirconium. That’s what Certain Dri’s formula includes, and it promises 72-hour sweat coverage for even the most hyperactive Hyperhidrosis.

The 14 Best Antiperspirants for Extra-Sweaty Pits (6)Saks Fifth Avenue

Best Upgrade Antiperspirant Deodorant

Helmm Compass Starter Kit PV Sport Deoderant

  • $32.00 at Saks Fifth Avenue

Active Ingredients: None

Ounces: 2.75 Oz

Scents: Hudson

This sport deodorant combats excessive sweating and major funk for 24 hours of protection. Helmm’s deodorant comes in a reusable, stylish case emphasizing its modern take on deodorant. Also, the refillable packaging is made to cut down on plastic.

The 14 Best Antiperspirants for Extra-Sweaty Pits (7)Amazon

Best Affordable Antiperspirant Deodorant

Dove Men+Care Antiperspirant Deodorant Dry Spray

Pros

  • Comes in an easy spray format

Cons

  • Spray-on deodorants are harmful if inhaled

Active Ingredients: Aluminum chlorohydrate

Ounces: 3.8 Oz

Scents: Clean comfort

With 48-hour sweat and deodorizing coverage, this spray-on deodorant also touts Dove’s signature moisturizing powers. A quarter of the formula is designated for keeping skin hydrated and cool, which is reassuring given the sensitivity of the under-arms. The clean scent is subtle enough for that just-showered freshness, but not so overwhelming that it competes with your fragrance of choice. Of the aerosol options and drugstore brands, this is one of your best bets.

The 14 Best Antiperspirants for Extra-Sweaty Pits (8)Amazon

Best Clothes-Protecting Antiperspirant Deodorant

Degree UltraClear Black+White Antiperspirant Deodorant

Pros

  • Has technology to prevent deodorant marks and stains on clothing
  • Lasts for 48 hours

Cons

  • Fragrance isn’t strong enough to conceal smell

Active Ingredients: Aluminum sesquichlorohydrate

Ounces: 2.7 Oz

Scents: Fresh

Another drugstore classic brand, Degree, offers an UltraClear formula with MotionSense technology that directly reacts to your body by excreting bursts of fragrance when you move. The Black + White part of its name helps your clothes stay clean and streak free by preventing white marks on black clothes and yellow stains on white clothes.

The 14 Best Antiperspirants for Extra-Sweaty Pits (9)Harry’s

Best Antiperspirant Deodorant for Scent Lovers

Harry’s Odor & Sweat Control Antiperspirant

  • $5.00 at Harry's

Pros

  • Comes in different scents
  • Lasts for 48 hours

Cons

  • Popular combinations sell out

Active Ingredients: Aluminum zirconium trichlorohydrex gly

Ounces: 2.5 Oz

Scents: Stone, redwood, fig, shiso

Harry’s Odor & Sweat Control Antiperspirant comes in four different scents and three different levels of effectiveness. It contains jojoba oil to soothe the skin, making it a good option for sensitive skin types, and gives 48 hours of odor and sweat protection.

The 14 Best Antiperspirants for Extra-Sweaty Pits (10)Jack Black

Best Scented Antiperspirant Deodorant

Jack Black Pit Boss Antiperspirant

  • $22.00 at Ulta Beauty

Pros

  • It’s cruelty-free
  • Uses aloe juice for hydrating, softening, and soothing properties

Cons

  • 4x as expensive as Degree or Harry’s

Active Ingredients: Aluminum zirconium tetrachlorohydrex gly

Ounces: 2.75 Oz

Scents: All-over

In addition to all-day coverage against odor and sweat, Jack Black’s roll-on antiperspirant utilizes Vitamin E and aloe juice to keep skin soft, calm and shielded against environmental toxins. You may have to apply this one twice as often as the competition (an extra application in the evening, if you’re hitting the gym or the dance floor), but that doesn’t make it inferior; in fact, it’s a matter of preference for how potent you want your antiperspirant to be.

The 14 Best Antiperspirants for Extra-Sweaty Pits (11)Walmart

Best Aloe Antiperspirant Deodorant

ZeroSweat Antiperspirant Deodorant with Aloe

Pros

  • Uses aloe and chamomile to reduce skin irritation
  • Lasts up to 7 days

Cons

  • Pricey for 1 Oz of product

Active Ingredients: Aluminum chloride

Ounces: 1 Oz

Scents: Chamomile, fresh

ZeroSweat’s unique aluminum solution has been lauded by above-average sweaters thanks to its strong aluminum chlorate formula which absorbs into the sweat glands themselves to stop sweating. It’s so effective that just one application will stop sweating for seven days. While the original formula remains its most popular, its other, gentler version contains aloe and chamomile to reduce skin irritation.

The 14 Best Antiperspirants for Extra-Sweaty Pits (12)Grove Collaborative

Best Sustainable Antiperspirant Deodorant

Tom’s of Maine Mountain Spring Antiperspirant

  • $7.00 at Grove Collaborative

Pros

  • Affordable
  • Uses recycled aluminum

Cons

  • Doesn’t perform well for rigorous movers

Active Ingredients: Aluminum chlorohydrate

Ounces: 2.8 Oz

Scents: Mountain spring

Fragranced with natural ingredients, Tom’s of Maine’s Mountain Spring Antiperspirant has a clean, fresh scent and aluminum-based formula that prevents excess sweat.

The 14 Best Antiperspirants for Extra-Sweaty Pits (13)Amazon

Best All-Body Antiperspirant Deodorant

SweatBlock Antiperspirant Lotion for Hands & Feet

Pros

  • Comes in a lotion form that can be applied to different body parts

Cons

  • Might take 2-4 weeks of application for full effect

Active Ingredients: Aluminum sesquichlorohydrate

Ounces: 1.69 Fl Oz

Scents: Unscented

This lotion can stop palmar and plantar hyperhidrosis (that is, on hands and feet). It prevents you from soaking in your own sweat all day, or from swapping soggy handshakes at work or over drinks. It’s not a days-long fix like the other antiperspirants on this list; but it’s great to apply as needed, and should last a few hours, assuming you don’t thoroughly wash your hands. It’s also a good way to prevent excessive foot odor if that’s something you’re eager to nix.

The 14 Best Antiperspirants for Extra-Sweaty Pits (14)Amazon

Best Antiperspirant Deodorant for Hyperhidrosis

Carpe Underarm Antiperspirant

Pros

  • Good option for those with hyperhidrosis

Cons

  • 3x as expensive as Certain Dri

Active Ingredients: Aluminum sesquichlorohydrate

Ounces: 1.69 Fl Oz

Scents: Eucalyptus, mountain air, powder fresh

This clinical-strength, and dermatologist-recommended formula, comes in the form of a skin-absorbing lotion that goes on smooth without a greasy feel. It’s packed with skin-moisturizing ingredients as well as eucalyptus which not only helps produce ceramides that keep your skin from drying out but also adds a fresh scent.

The 14 Best Antiperspirants for Extra-Sweaty Pits (15)Walmart

Best Odor-Neutralizing Antiperspirant Deodorant

Arm & Hammer Ultra Max Deodorant (Pack of 2)

  • $4.00 at Walmart

Pros

  • Uses baking soda as a natural deodorizer
  • Affordable

Cons

  • Not best for sensitive skin types

Active Ingredients: Aluminum chlorohydrate

Ounces: 2.6 Oz

Scents: Fresh

Arm & Hammer’s antiperspirant deodorant decreases underarm wetness and reduces underarm sweating caused by stress. It includes a hint of baking soda which helps you smell your best and it fights odor for 48 hours.

The 14 Best Antiperspirants for Extra-Sweaty Pits (16)Courtesy

Best PM Antiperspirant Deodorant

Duradry 3-Step System

  • $34.00 at duradry.com

    $42.00(20% off)

Pros

  • Dermatologist-approved
  • Can be bought in bulk to save money

Cons

  • It works best as a daily 3-step process

Active Ingredients: Aluminum chloride hexahydrate, aluminum zirconium trichlorohydrex glycine

Ounces: Antiperspirant stick (2.3 Oz), sweat minimizing gel (0.4 Fl Oz), deep cleansing wash (2 Fl Oz)

Scents: Barça, clear sky, end game, limitless

Duradry is a 3-step system consisting of AM and PM deodorants and an antiperspirant wash. You’re supposed to use all three every day, and this supply should last you eight weeks. You can pick from a few scents, too, as this isn’t supposed to feel that medicinal.

The 14 Best Antiperspirants for Extra-Sweaty Pits (17)Amazon

Best Mass-Market Antiperspirant Deodorant

Old Spice Pure Sport Solid Deodorant (Pack of 2)

Pros

  • Affordable

Cons

  • Not good for sensitive skin types

Active Ingredients: None

Ounces: 2.25 Oz

Scents: Pure sport

Though its branding has been updated, this is probably the antiperspirant you used when you went through puberty. And it works just as well today as it did during your awkward years. It gives you 24-hour odor and sweat protection with a light lemon-lime freshness, which pairs well with Old Spice’s similarly scented body wash.

The 14 Best Antiperspirants for Extra-Sweaty Pits (18)Duke Cannon

Best Cooling Antiperspirant Deodorant

Dry Ice Cooling Antiperspirant + Deodorant

  • $10.00 at dukecannon.com

    $12.00(21% off)

Pros

  • Uses menthol for cooling effect

Cons

  • Only comes in one scent

Active Ingredients: Aluminum zirconium tetrachlorohydrex gly

Ounces: 2.6 Oz

Scents: Bergamot & black pepper

Duke Cannon’s antiperspirant doesn’t just deter sweat — it actively cools your pits using menthol. It blocks out wetness, while the fresh scent hides unpleasant odors. This is ideal for folks who run hot.

Related Topics

Buying Guides, , Top Stories

');e.insertAdjacentHTML(n,o)}return document.getElementById(t)},e.prototype._repeatDynamicAds=function(e){for(var t=[],i=this._removeRecipeCapExperiment.result&&"Recipe"===e.location?99:this.locationMaxLazySequence.get(e.location),o=e.lazy?C(i,0):0,r=e.max,a=e.lazyMax,s=0===o&&e.lazy?r+a:Math.min(Math.max(o-e.sequence+1,0),r+a),l=Math.max(r,s),c=0;c=r;t.push(n(n({},e),{sequence:u,lazy:d}))}return t},e.prototype._locationEnabled=function(e){var t=this._clsOptions.enabledLocations.includes(e.location),n=this._clsOptions.disableAds&&this._clsOptions.disableAds.all||document.body.classList.contains("adthrive-disable-all"),i=!document.body.classList.contains("adthrive-disable-content")&&!this._clsOptions.disableAds.reasons.has("content_plugin");return t&&!n&&i},e}(),Ce=function(e){function n(t,n){var i=e.call(this,t,"ClsVideoInsertion")||this;return i._videoConfig=t,i._clsOptions=n,i._IN_POST_SELECTOR=".adthrive-video-player",i._WRAPPER_BAR_HEIGHT=36,i._playersAddedFromPlugin=[],n.removeVideoTitleWrapper&&(i._WRAPPER_BAR_HEIGHT=0),i}return t(n,e),n.prototype.init=function(){this._initializePlayers()},n.prototype._wrapVideoPlayerWithCLS=function(e,t,n){if(void 0===n&&(n=0),e.parentNode){var i=e.offsetWidth*(9/16),o=this._createGenericCLSWrapper(i,t,n);return e.parentNode.insertBefore(o,e),o.appendChild(e),o}return null},n.prototype._createGenericCLSWrapper=function(e,t,n){var i=document.createElement("div");return i.id="cls-video-container-".concat(t),i.className="adthrive",i.style.minHeight="".concat(e+n,"px"),i},n.prototype._getTitleHeight=function(){var e=document.createElement("h3");e.style.margin="10px 0",e.innerText="Title",e.style.visibility="hidden",document.body.appendChild(e);var t=window.getComputedStyle(e),n=parseInt(t.height,10),i=parseInt(t.marginTop,10),o=parseInt(t.marginBottom,10);return document.body.removeChild(e),Math.min(n+o+i,50)},n.prototype._initializePlayers=function(){var e=document.querySelectorAll(this._IN_POST_SELECTOR);e.length&&this._initializeRelatedPlayers(e),this._shouldRunAutoplayPlayers()&&this._determineAutoplayPlayers()},n.prototype._createStationaryRelatedPlayer=function(e,t,n){var i="mobile"===this._device?[400,225]:[640,360],o=_.Video_In_Post_ClicktoPlay_SoundOn;if(t&&e.mediaOrPlaylistId){var r="".concat(e.mediaOrPlaylistId,"_").concat(n),a=this._wrapVideoPlayerWithCLS(t,r);this._playersAddedFromPlugin.push(e.mediaOrPlaylistId),a&&this._clsOptions.setInjectedVideoSlots({playerId:e.playerId,playerName:o,playerSize:i,element:a,type:"stationaryRelated"})}},n.prototype._createStickyRelatedPlayer=function(e,t){var n="mobile"===this._device?[400,225]:[640,360],i=_.Video_Individual_Autoplay_SOff;if(this._stickyRelatedOnPage=!0,this._videoConfig.mobileStickyPlayerOnPage="mobile"===this._device,t&&e.position&&e.mediaId){var o=document.createElement("div");t.insertAdjacentElement(e.position,o);var r=this._getTitleHeight(),a=this._wrapVideoPlayerWithCLS(o,e.mediaId,this._WRAPPER_BAR_HEIGHT+r);this._playersAddedFromPlugin.push(e.mediaId),a&&this._clsOptions.setInjectedVideoSlots({playlistId:e.playlistId,playerId:e.playerId,playerSize:n,playerName:i,element:o,type:"stickyRelated"})}},n.prototype._createPlaylistPlayer=function(e,t){var n=e.playlistId,i="mobile"===this._device?_.Video_Coll_SOff_Smartphone:_.Video_Collapse_Autoplay_SoundOff,o="mobile"===this._device?[400,225]:[640,360];this._videoConfig.mobileStickyPlayerOnPage=!0;var r=document.createElement("div");t.insertAdjacentElement(e.position,r);var a=this._WRAPPER_BAR_HEIGHT;e.title&&(a+=this._getTitleHeight());var s=this._wrapVideoPlayerWithCLS(r,n,a);this._playersAddedFromPlugin.push("playlist-".concat(n)),s&&this._clsOptions.setInjectedVideoSlots({playlistId:e.playlistId,playerId:e.playerId,playerSize:o,playerName:i,element:r,type:"stickyPlaylist"})},n.prototype._isVideoAllowedOnPage=function(){var e=this._clsOptions.disableAds;if(e&&e.video){var t="";e.reasons.has("video_tag")?t="video tag":e.reasons.has("video_plugin")?t="video plugin":e.reasons.has("video_page")&&(t="command queue");var n=t?"ClsVideoInsertionMigrated":"ClsVideoInsertion";return A.error(n,"isVideoAllowedOnPage",new Error("DBP: Disabled by publisher via ".concat(t||"other"))),!1}return!this._clsOptions.videoDisabledFromPlugin},n}(function(e){function o(t,n){var i=e.call(this)||this;return i._videoConfig=t,i._component=n,i._stickyRelatedOnPage=!1,i._relatedMediaIds=[],i._device=x()?"desktop":"mobile",i._potentialPlayerMap=i.setPotentialPlayersMap(),i}return t(o,e),o.prototype.setPotentialPlayersMap=function(){var e=this._videoConfig.players||[],t=this._filterPlayerMap(),n=e.filter((function(e){return"stationaryRelated"===e.type&&e.enabled}));return t.stationaryRelated=n,this._potentialPlayerMap=t,this._potentialPlayerMap},o.prototype._filterPlayerMap=function(){var e=this,t=this._videoConfig.players,n={stickyRelated:[],stickyPlaylist:[],stationaryRelated:[]};return t&&t.length?t.filter((function(t){var n;return null===(n=t.devices)||void 0===n?void 0:n.includes(e._device)})).reduce((function(t,n){return t[n.type]||(A.event(e._component,"constructor","Unknown Video Player Type detected",n.type),t[n.type]=[]),n.enabled&&t[n.type].push(n),t}),n):n},o.prototype._checkPlayerSelectorOnPage=function(e){var t=this,n=this._potentialPlayerMap[e].map((function(e){return{player:e,playerElement:t._getPlacementElement(e)}}));return n.length?n[0]:{player:null,playerElement:null}},o.prototype._getOverrideElement=function(e,t,n){if(e&&t){var i=document.createElement("div");t.insertAdjacentElement(e.position,i),n=i}else{var o=this._checkPlayerSelectorOnPage("stickyPlaylist"),r=o.player,a=o.playerElement;if(r&&a){i=document.createElement("div");a.insertAdjacentElement(r.position,i),n=i}}return n},o.prototype._shouldOverrideElement=function(e){var t=e.getAttribute("override-embed");return"true"===t||"false"===t?"true"===t:!!this._videoConfig.relatedSettings&&this._videoConfig.relatedSettings.overrideEmbedLocation},o.prototype._checkPageSelector=function(e,t,n){return void 0===n&&(n=[]),!e||!t||0!==n.length||(!("/"===window.location.pathname)&&A.event("VideoUtils","getPlacementElement",new Error("PSNF: ".concat(e," does not exist on the page"))),!1)},o.prototype._getElementSelector=function(e,t,n){return t&&t.length>n?t[n]:(A.event("VideoUtils","getPlacementElement",new Error("ESNF: ".concat(e," does not exist on the page"))),null)},o.prototype._getPlacementElement=function(e){var t=e.pageSelector,n=e.elementSelector,o=e.skip,r=I(t),a=r.valid,s=r.elements,l=i(r,["valid","elements"]),c=R(n),u=c.valid,d=c.elements,p=i(c,["valid","elements"]);return""===t||a?u?this._checkPageSelector(t,a,s)&&this._getElementSelector(n,d,o)||null:(A.error("VideoUtils","getPlacementElement",new Error("".concat(n," is not a valid selector")),p),null):(A.error("VideoUtils","getPlacementElement",new Error("".concat(t," is not a valid selector")),l),null)},o.prototype._getEmbeddedPlayerType=function(e){var t=e.getAttribute("data-player-type");return t&&"default"!==t||(t=this._videoConfig.relatedSettings?this._videoConfig.relatedSettings.defaultPlayerType:"static"),this._stickyRelatedOnPage&&(t="static"),t},o.prototype._getMediaId=function(e){var t=e.getAttribute("data-video-id");return!!t&&(this._relatedMediaIds.push(t),t)},o.prototype._createRelatedPlayer=function(e,t,n,i){"collapse"===t?this._createCollapsePlayer(e,n):"static"===t&&this._createStaticPlayer(e,n,i)},o.prototype._createCollapsePlayer=function(e,t){var i=this._checkPlayerSelectorOnPage("stickyRelated"),o=i.player,r=i.playerElement,a=o||this._potentialPlayerMap.stationaryRelated[0];a&&a.playerId?(this._shouldOverrideElement(t)&&(t=this._getOverrideElement(o,r,t)),t=document.querySelector("#cls-video-container-".concat(e," > div"))||t,this._createStickyRelatedPlayer(n(n({},a),{mediaId:e}),t)):A.error(this._component,"_createCollapsePlayer","No video player found")},o.prototype._createStaticPlayer=function(e,t,i){if(this._potentialPlayerMap.stationaryRelated.length&&this._potentialPlayerMap.stationaryRelated[0].playerId){var o=this._potentialPlayerMap.stationaryRelated[0];this._createStationaryRelatedPlayer(n(n({},o),{mediaOrPlaylistId:e}),t,i)}else A.error(this._component,"_createStaticPlayer","No video player found")},o.prototype._shouldRunAutoplayPlayers=function(){return!(!this._isVideoAllowedOnPage()||!this._potentialPlayerMap.stickyRelated.length&&!this._potentialPlayerMap.stickyPlaylist.length)},o.prototype._determineAutoplayPlayers=function(){var e=this._component,t="VideoManagerComponent"===e,n=this._config;if(this._stickyRelatedOnPage)A.event(e,"stickyRelatedOnPage",t&&{device:n&&n.context.device,isDesktop:this._device}||{});else{var i=this._checkPlayerSelectorOnPage("stickyPlaylist"),o=i.player,r=i.playerElement;o&&o.playerId&&o.playlistId&&r?this._createPlaylistPlayer(o,r):A.event(e,"noStickyPlaylist",t&&{vendor:"none",device:n&&n.context.device,isDesktop:this._device}||{})}},o.prototype._initializeRelatedPlayers=function(e){for(var t=new Map,n=0;n
The 14 Best Antiperspirants for Extra-Sweaty Pits (2024)

References

Top Articles
Latest Posts
Recommended Articles
Article information

Author: Sen. Ignacio Ratke

Last Updated:

Views: 6364

Rating: 4.6 / 5 (56 voted)

Reviews: 95% of readers found this page helpful

Author information

Name: Sen. Ignacio Ratke

Birthday: 1999-05-27

Address: Apt. 171 8116 Bailey Via, Roberthaven, GA 58289

Phone: +2585395768220

Job: Lead Liaison

Hobby: Lockpicking, LARPing, Lego building, Lapidary, Macrame, Book restoration, Bodybuilding

Introduction: My name is Sen. Ignacio Ratke, I am a adventurous, zealous, outstanding, agreeable, precious, excited, gifted person who loves writing and wants to share my knowledge and understanding with you.