The 50 Best Things to Buy from Ikea (Updated for 2024) | Gear Patrol (2024)

Home / Home / Buying Guides

From $1 tea towels to a pitch-perfect dining chair, these are the best things to spend money on at Ikea.

The 50 Best Things to Buy from Ikea (Updated for 2024) | Gear Patrol (1)Photo by Chandler Bondurant for Gear Patrol

The 50 Best Things to Buy from Ikea (Updated for 2024) | Gear Patrol (2)The 50 Best Things to Buy from Ikea (Updated for 2024) | Gear Patrol (3)The 50 Best Things to Buy from Ikea (Updated for 2024) | Gear Patrol (4)The 50 Best Things to Buy from Ikea (Updated for 2024) | Gear Patrol (5)

By Johnny Brayson, Tyler Chin, Will Price, and Jack Seemer

Published

·

Updated

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

Most people probably don’t want to think about how many hours they’ve spent trying (and failing) to navigate the fluorescent maze that calls itself “Ikea.” The Swedish superstore is filled to the brim with amazingly affordable home decor, storage solutions and meatballs (which, sadly, are no longer sold online). To make the shopping experience less overwhelming for the everyday shopper, we combed through the retailer’s entire online inventory to curate some of its best products.

The History of Ikea

While you probably first heard of Ikea back in the 2000s when one suddenly showed up in your nearest suburb and began slinging meatballs and flat-packing furniture with hard-to-pronounce names, the company has been around a whole lot longer than that.

Ikea was founded by Swedish entrepreneur Ingvar Kamprad in 1943 when he was just 17 years old. He named the company after himself and his family farm: Ingvar Kamprad from Elmtaryd, Agunnaryd. Five years later, he produced his first piece of furniture, and right from the start, it was affordably priced. In 1950, Ikea published its first catalog, and its first showroom debuted in 1953. That same year, Ikea began flat-packing its furniture for customers to assemble themselves. While they weren’t the first to do so, their commitment to the system eventually led to a revolution in the industry while becoming a defining trait of the brand.

Another defining Ikea trait, in-store restaurants, debuted in 1960, with the idea being that customers wouldn’t have to leave the store before making a purchase if they got hungry. In 1963, Ikea opened its first store outside of Sweden in neighboring Norway, and 22 years later, the global furniture store made its U.S. debut in Pennsylvania. Today, Ikea operates more than 50 American locations.

More recent years have seen Ikea take risks by branching out into other areas of the home outside of furniture, with varying levels of success. Its much-ballyhooed Uppleva TV was a notorious flop in 2012, but the Symfonisk line of speakers it’s been producing in collaboration with Sonos since 2019 has been much better received. Today’s Ikea catalog is filled with smart home accessories, LED lighting and air purifiers in addition to every type of furniture imaginable.

The 50 Best Things to Buy from Ikea (Updated for 2024) | Gear Patrol (6)Ikea

Hildegun Dish Towel

  • $0.79 at IKEA

Do you avoid laundry as much as the rest of us? Grab a few of these towels next time you visit your local Ikea. They’re amazingly inexpensive and they work great as napkins, too.

The 50 Best Things to Buy from Ikea (Updated for 2024) | Gear Patrol (7)Ikea

Parkla Shoe Bag

  • $1 at Ikea

Often overlooked among travelers, shoe bags keep things sanitary inside a suitcase or duffel. These ones measure roughly 9 x 19 inches and can hold one pair of large shoes or multiple children’s sizes. Oh, they also cost a dollar, so you can afford to beat them up.

The 50 Best Things to Buy from Ikea (Updated for 2024) | Gear Patrol (8)Ikea

Rinnig Dish Brush

  • $2.00 at IKEA

Your hands will never smell spongey again thanks to this handy dish brush. The handle has a built-in suction cup, so you can prop it up by your sink when you’re done scrubbing dishes.

The 50 Best Things to Buy from Ikea (Updated for 2024) | Gear Patrol (9)Ikea

Nyskoljd Dish Drying Mat

  • $3.00 at IKEA

This is perfect whether your dish rack is constantly overflowing, or if you need somewhere to air dry those bulky pots and pans.

The 50 Best Things to Buy from Ikea (Updated for 2024) | Gear Patrol (10)Ikea

Ikea 365+ Carafe

  • $4.00 at IKEA

This carafe owes its brilliance to the cork stopper. Use it to store leftover coffee or homemade juice, and tack a piece of paper to the top with the date on it. Hosting a party? Use thumbtacks and labels to identify the contents.

The 50 Best Things to Buy from Ikea (Updated for 2024) | Gear Patrol (11)Ikea

Pruta Food Container

  • $5.00 at IKEA

For $5 you get 17 containers in seven sizes, so you can afford to “lose” one or two in the office dishwasher.

The 50 Best Things to Buy from Ikea (Updated for 2024) | Gear Patrol (12)Ikea

Uppfylld Salad Spinner

  • $8 at IKEA

Salad spinners are oddly satisfying — toss in some freshly washed vegetables, put some elbow grease into it and find yourself with bone-dry produce.

The 50 Best Things to Buy from Ikea (Updated for 2024) | Gear Patrol (13)Ikea

Sylvass Lemon Squeezer

  • $5 at IKEA

    $8.00(38% off)

We can’t recommend all of Ikea’s cookware and kitchen gadgets, but it’s really hard to screw up a manual citrus squeezer.

These bamboo bowls come in a variety of sizes to hold everything from snacks to stews. Or use it as a catchall bowl for your loose change and car keys.

The 50 Best Things to Buy from Ikea (Updated for 2024) | Gear Patrol (15)Ikea

Lattviktig Oven Dish

  • $7 at IKEA

The Lattviktig oven dish can go straight from the oven to the dining table. It’s made of durable tempered glass and is dishwasher safe.

The 50 Best Things to Buy from Ikea (Updated for 2024) | Gear Patrol (16)Ikea

Ikea 365+ Glass

  • $12.00 at IKEA

These stackable glasses are highly durable and can hold hot and cold beverages. You’ll definitely be using these 365 days a year.

The 50 Best Things to Buy from Ikea (Updated for 2024) | Gear Patrol (17)Ikea

Triabo Welcome Door Mat

  • $10.00 at IKEA

Nothing’s more welcoming than a welcome mat that says “Welcome.”

The 50 Best Things to Buy from Ikea (Updated for 2024) | Gear Patrol (18)Ikea

Mulig Clothes Rack

  • $9 at IKEA

No closet, no problem. This sleek, simple clothing rack comes together quickly and looks great in bedrooms of all sizes.

The 50 Best Things to Buy from Ikea (Updated for 2024) | Gear Patrol (19)Ikea

Vindriktning Air Quality Sensor

  • $16.00 at IKEA

Easily monitor the air quality in your space with this device that measures the amount of particulate matter in the air. The light on the front shows green for good air, yellow for OK and red for poor quality.

The 50 Best Things to Buy from Ikea (Updated for 2024) | Gear Patrol (20)Ikea

Krispig Cake Carrier

  • $15.00 at IKEA

We chose this cake carrier because of its clever, versatile design. One side of the base tray is smooth, ideal for cakes or pies, while the other has ridges, so you can arrange cupcakes, muffins, etc. It’s also quite tall, so don’t worry about adding another layer to that birthday cake.

The 50 Best Things to Buy from Ikea (Updated for 2024) | Gear Patrol (21)Ikea

Toftan Trash Can

  • $15.00 at IKEA

A removable inner bucket makes this garbage can a breeze to clean, and a soft-closing lid keeps things quiet.

The 50 Best Things to Buy from Ikea (Updated for 2024) | Gear Patrol (22)Ikea

Klipsk Bed Tray

  • $16.00 at IKEA

Like breakfast in bed? Make it less messy with this simple tray — there’s a lip around the edge to catch any crumbs and spills, as well as a groove to prop up a book or tablet. The legs also fold up for easy storage.

The 50 Best Things to Buy from Ikea (Updated for 2024) | Gear Patrol (23)Ikea

Kyrre Stool

  • $16 at IKEA

More than a stool, the Kyrre can also loyally serve as a side table for random knick-knacks. Pick up a few —they stack and store easily, making them an affordable option for party seating.

The 50 Best Things to Buy from Ikea (Updated for 2024) | Gear Patrol (24)Ikea

Adelsten Mortar and Pestle

  • $20.00 at IKEA

Some don’t realize how essential a mortar and pestle is until they taste the difference between freshly ground spices and the store-bought stuff. Spend $15 and get one made from marble. You won’t regret it.

The 50 Best Things to Buy from Ikea (Updated for 2024) | Gear Patrol (25)Ikea

Saxborga Jar Set

  • $20.00 at IKEA

Take your Q-tips out of the box and put them in one of these jars. The cork lids, besides looking stylish, help them stack without worrying about tipping over, and they look pretty cool too.

The 50 Best Things to Buy from Ikea (Updated for 2024) | Gear Patrol (26)Ikea

Sortera Recycling Bin

  • $20.00 at IKEA

Stack two of these to separate paper and plastic — or use them to sort laundry, dog food or toys.

The 50 Best Things to Buy from Ikea (Updated for 2024) | Gear Patrol (27)Ikea

Lennart Drawer Unit

  • $15.00 at IKEA

Add the Lennart to your office space so you can finally get that clutter off your desk. The drawer unit is lightweight and a pair of casters make it easy to move around.

Ikea’s Skadis collection is the perfect way to keep your gear organized so you aren’t scrambling for that one item. Start with the pegboard and add accompanying accessories for a customizable way to stay neat and tidy.

The 50 Best Things to Buy from Ikea (Updated for 2024) | Gear Patrol (29)Ikea

Björkspirea LED Decorative Light

  • $25.00 at IKEA

This pair of wireless brass lights will help you set a cozy mood with their warm glow. Simply shake them to turn them on or off.

The 50 Best Things to Buy from Ikea (Updated for 2024) | Gear Patrol (30)Ikea

Bondis Wall Clock

  • $25.00 at IKEA

The silent movement that powers this clock will tell you the time without disturbing your peace and quiet.

The 50 Best Things to Buy from Ikea (Updated for 2024) | Gear Patrol (31)Ikea

Gladom Tray Table

  • $20.00 at IKEA

These steel side tables are lightweight even though they’re made of steel. Use the removable top to double as a serving tray.

The 50 Best Things to Buy from Ikea (Updated for 2024) | Gear Patrol (32)Ikea

Fado Table Lamp

  • $30 at IKEA

This tiny orb of light is a fun way to add some brightness to your room and your mood. Add a smart light bulb to add a pop of color to your space.

The 50 Best Things to Buy from Ikea (Updated for 2024) | Gear Patrol (33)Ikea

Ekkronmal Throw

  • $35.00 at IKEA

Add some flare to your sofa for only $30 with this comfy blanket.

The 50 Best Things to Buy from Ikea (Updated for 2024) | Gear Patrol (34)Ikea

Raskog Utility Cart

  • $40.00 at IKEA

Whether you need more room for your desk accessories or your kitchen gear, the Raskog will give you extra storage space in a tiny package.

The 50 Best Things to Buy from Ikea (Updated for 2024) | Gear Patrol (35)Ikea

Kallax

  • Starts at $45

Kallax is arguable Ikea’s most shelving system. Adaptable to different needs and spaces, it comes in all manner of sizes and you can place the long units on their sides, if you desire. Pro insight: each compartment is sized perfectly for LPs.

The 50 Best Things to Buy from Ikea (Updated for 2024) | Gear Patrol (36)Ikea

Ranarp Pendant Lamp

  • $50.00 at IKEA

The classic, slightly old-fashioned design of this lamp makes it look a lot more expensive than fifty bucks.

The 50 Best Things to Buy from Ikea (Updated for 2024) | Gear Patrol (37)Ikea

Satsumas Plant Stand

  • $60.00 at IKEA

Give all of your plants their time to shine. Your call on whether the plants you put on it are real or artificial.

The 50 Best Things to Buy from Ikea (Updated for 2024) | Gear Patrol (38)Ikea

Bondskäret Hat and Coat Stand

  • $50.00 at IKEA

Part of Ikea’s Nytillverkad that brings back and refreshes some of the brand’s designs from decades past, this coat rack was originally designed by Rutger Andersson in 1978 and also comes in yellow.

The 50 Best Things to Buy from Ikea (Updated for 2024) | Gear Patrol (39)Ikea

Saluding Laundry Basket

  • $55.00 at IKEA

Laundry baskets aren’t often beautiful, but the Saluding is an exception to the rule thanks to its handwoven bamboo weave.

The 50 Best Things to Buy from Ikea (Updated for 2024) | Gear Patrol (40)Ikea

Utsadd Dog Bed

  • $70 at IKEA

Pamper your pet with a comfy new bed — the minimalistic design won’t take away from your decor. Plus, you can remove one side of the bed to give your dog some space to stretch.

The 50 Best Things to Buy from Ikea (Updated for 2024) | Gear Patrol (41)Ikea

Fornuftig

  • $60 at IKEA

Ikea only recently got into making air purifiers, and its first model, the Fornuftig, is affordable, attractive and efficient. Honestly, it’s a breath of fresh air.

The 50 Best Things to Buy from Ikea (Updated for 2024) | Gear Patrol (42)Ikea

Hektar Floor Lamp

  • $80.00 at IKEA

This lamp isn’t going to light up a whole room. Use the Hektar’s adjustable lamp head to concentrate light at target spots for whatever the activity calls for.

The 50 Best Things to Buy from Ikea (Updated for 2024) | Gear Patrol (43)Ikea

Billy Bookcase

  • Starts at $39

One of Ikea’s most popular pieces, the Billy bookcase can be used for so much more than books — think shoe storage, tchotchke display, temporary TV stand. To boot, it promises one of the easiest assemblies in the entire catalog.

The 50 Best Things to Buy from Ikea (Updated for 2024) | Gear Patrol (44)Ikea

Fejka Artificial Kentia Palm

  • $80.00 at IKEA

Have a hard time keeping plants alive? Then opt for this realistic-looking artificial palm that’s rated for both indoor and outdoor use and stands nearly six feet tall.

The 50 Best Things to Buy from Ikea (Updated for 2024) | Gear Patrol (45)Ikea

Lovbacken Side Table

  • $90.00 at IKEA

Everyone and their mother will think this distinctive table is a one-in-a-million mid-century modern piece and not an easy-to-assemble find from Ikea. The black and brown combo ensures this table will work with any kind of furniture, but if you’re more adventurous, it’s also available in a range of bright colors.

The 50 Best Things to Buy from Ikea (Updated for 2024) | Gear Patrol (46)Ikea

Odger Chair

  • $125.00 at IKEA

The Odger is a basic chair made of renewable wood and recycled plastic so you can sit comfortably and responsibly. And it looks like a certain molded plastic side chair from the 1950s.

The 50 Best Things to Buy from Ikea (Updated for 2024) | Gear Patrol (47)Ikea

Symfonisk WiFi Bookshelf Speaker

  • $120 at IKEA

We already declared this Sonos speaker a no-brainer for most people, but we just can’t stop raving about it. The Symfonisk bookshelf speaker, and the Symfonisk table lamp, are compatible with other Sonos speakers, so it’s the cheapest way to expand your Sonos ecosystem.

The 50 Best Things to Buy from Ikea (Updated for 2024) | Gear Patrol (48)Ikea

Fyrtur Blackout Roller Blind

  • $155.00 at IKEA

Ikea has been tackling smart home gear lately, and its blackout blinds are a standout of the collection. Add the Dirigera hub to control the blinds from the Ikea Home app or your preferred virtual assistant (Alexa, Apple or Google). And for parents, these blinds are cordless, which makes them safer for children.

The 50 Best Things to Buy from Ikea (Updated for 2024) | Gear Patrol (49)Ikea

Brimnes Wardrobe

  • Starts at $99

This narrow wardrobe is perfect for small spaces because it’s tall, slim, and holds a lot. Use it in lieu of a coat closet or store everything that won’t fit in your bureau.

The 50 Best Things to Buy from Ikea (Updated for 2024) | Gear Patrol (50)Ikea

Hovet Mirror

  • $130 at IKEA

Mirrors are a great way to give off the appearance of more space in a tiny home. And, of course, they’re great for checking yourself out too.

The 50 Best Things to Buy from Ikea (Updated for 2024) | Gear Patrol (51)Ikea

Malm Four-Drawer Chest

  • $200.00 at IKEA

The Malm chest is the go-to dresser for post-grad homes. It’s streamlined — thanks to its lack of handles — and is made from a real wood veneer that’ll age as gracefully as you.

The 50 Best Things to Buy from Ikea (Updated for 2024) | Gear Patrol (52)Ikea

Poang Armchair

  • $169 at IKEA

Few Ikea pieces are as iconic as this lounge chair, with its birch frame and high back. Add the complementing Poang ottoman for an Eames-esque setup at a fraction of the price.

The 50 Best Things to Buy from Ikea (Updated for 2024) | Gear Patrol (53)Ikea

Bror Kitchen Island

  • $199 at Ikea

Ikea angles this as a kitchen island but displays it as a garage-ready workbench —which is exactly how we think you should use it. It’s made from heavy-duty steel that comes in green or black. The plywood is unfinished, so DIYers might consider adding a topcoat for durability and longevity.

The 50 Best Things to Buy from Ikea (Updated for 2024) | Gear Patrol (54)Ikea

Markus Office Chair

  • $290.00 at IKEA

Our favorite Ikea office chair is the best the brand offers when it comes to ergonomics — and we would know.

The 50 Best Things to Buy from Ikea (Updated for 2024) | Gear Patrol (55)Ikea

Strandmon Wing Chair

  • $299.00 at IKEA

Over 900 5-star ratings on Ikea’s website sealed this chair’s spot on our list. Harkening back to Ikea’s original 1950s design, it comes in myriad colors and patterns. The removable seat cover is machine-washable, meaning this chair will look brand new for years to come.

Related Topics

Buying Guides, Home Buying Guides

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

References

Top Articles
Latest Posts
Article information

Author: Dean Jakubowski Ret

Last Updated:

Views: 5856

Rating: 5 / 5 (50 voted)

Reviews: 81% of readers found this page helpful

Author information

Name: Dean Jakubowski Ret

Birthday: 1996-05-10

Address: Apt. 425 4346 Santiago Islands, Shariside, AK 38830-1874

Phone: +96313309894162

Job: Legacy Sales Designer

Hobby: Baseball, Wood carving, Candle making, Jigsaw puzzles, Lacemaking, Parkour, Drawing

Introduction: My name is Dean Jakubowski Ret, I am a enthusiastic, friendly, homely, handsome, zealous, brainy, elegant person who loves writing and wants to share my knowledge and understanding with you.