Home > Router > Router Buyer's Guide

Best WiFi router for multiple devices in 2024 – Our top picks

Connect all your devices in every corner with these powerful Wi-Fi routers
Last Updated on June 19, 2024
Best Wi-Fi router for multiple devices
You can trust PC Guide: Our team of experts use a combination of independent consumer research, in-depth testing where appropriate - which will be flagged as such, and market analysis when recommending products, software and services. Find out how we test here.

A WiFI router can accommodate anywhere from 10 to 300 and even more devices—it all depends on the kind of router you get. These routers are mostly useful for large homes, large office spaces, or if you want to keep multiple devices connected (for example, a smart home system with several devices).

At the moment, if you look at the available routers on the market, you will find several WiFi 7, 6, and 6E routers that support multiple simultaneous connections. Plus, with technologies like MU-MIMO, OFDMA, and beamforming, the router can deliver stable, steady connections on all the connected devices.

With that being said, there are quite a lot of routers for multiple devices available in the market, and the key to finding the right one isn’t simply selecting one of the best wireless routers. Instead, you need to carefully look at the router’s specs, range, capacity, and compatibility. To save you time on research, we have rounded up what we think are the best WiFi routers for multiple devices.

How we picked

To find the best router for multiple devices, we used our expertise to select items based on key specs, such as speeds, wireless standards, security, and additional features. We’ve also delved into and weighted market sentiment and user views to ensure our selections align with users’ experiences with these products.

However, we don’t rely solely on specifications and reviews that anyone can read. We conduct in-house testing to check their signal strength, speed, and file transfer speed. If you’re interested in learning more about our process, check out our How We Test Routers guide for a more in-depth understanding.

Our top picks

Best Wi-Fi router for multiple devices overall
01
  • GL.iNet GL-AXT1800 (Slate AX) standing on side, Image by PCGuide
  • GL.iNet GL-AXT1800 (Slate AX) antennae standing, Image by PCGuide
  • GL.iNet GL-AXT1800 (Slate AX) back profile, Image by PCGuide
  • GL.iNet GL-AXT1800 (Slate AX) rear ports, Image by PCGuidee
  • GL.iNet GL-AXT1800 (Slate AX) underside, Image by PCGuide
  • GL.iNet GL-AXT1800 (Slate AX) antennae down, Image by PCGuide
  • GL.iNet GL-AXT1800 (Slate AX) box contents, Image by PCGuide
  • GL.iNet GL-AXT1800 (Slate AX) box profile, Image by PCGuide
  • GL.iNet GL-AXT1800 (Slate AX) in front of box, Image by PCGuide
  • GL.iNet GL-AXT1800 (Slate AX) microSD port, Image by PCGuide
  • GL.iNet GL-AXT1800 (Slate AX) router side box, Image by PCGuide
Outstanding
Specifications
  • Standard: WiFI 6
  • Frequency Bnads: 2.4GHz, 5GHz
  • Max Speed: 1800Mbps
  • LAN Ports: 2x Gigabit
  • WAN: 1x Gigabit
  • CPU: IPQ6000 1.2GHz Quad-core Processor
  • Memory: DDR3L 512MB / NAND Flash 128MB
  • USB: 1x USB 3.0
  • Dimensions: 125 x 82 x 36mm
  • Weight: 245g
Show more
Reasons to Buy
  • It has great support for various VPNs
  • It comes with a good number of features, such as protection options and guest Wi-Fi
  • The price-to-value ratio is very high, given its performance
Reasons to Avoid
  • The USB connection isn’t the fastest
  • It can get a little hot after a while

For our top pick, we went with the GL.iNet GL-AXT1800 router because not only does it have an affordable price tag, but according to GL.iNet, it can support up to 120 devices simultaneously. On top of that, in our GL-AXT1800 review, it had excellent signal strength and speed, which gave it the top spot on our list. 

For starters, this router operates on the Wi-Fi 6 standard, meaning it has a theoretical max speed of 9.6 Gbps, and it has dual channels. What this means is that you can experience super fast internet on either the 2.4 or 5 GHz band. However, these bands have their pros and cons with 5 GHz having more bandwidth but shorter range, whereas 2.4 GHz has a longer range but is also prone to interference. 

You should run both frequencies simultaneously, as this allows multiple devices to connect to the stronger and more stable frequency. For example, if you’re farther away from the router, the 2.4 GHz frequency should be able to connect to your device, whereas 5 GHz would fail, keeping your work going. On the other hand, if you’re closer, the 5 GHz frequency would be prioritized for faster speeds. 

We checked for its range in our review, and 2.4 GHz was able to connect from 10 to 90 ft, while 5 GHz only managed to connect to 60 ft and failed at the 90 ft mark, which isn’t surprising. 

Overall, the GL.iNet GL-AXT1800 Slate AX surprised us a lot. Selling itself as a portable router, it holds up well against standard gaming router options, which we wouldn’t expect from something designed on the go.

PC Guide

As we mentioned in the beginning, this router can support up to 120 devices simultaneously, whether they are mobile phones, laptops, computers, consoles, etc. So, if you’ve got plenty of devices at home, like in a smart home, or are working in a small office, this router should be able to cater to every device without compromising performance. 

However, just because a router can support so many devices doesn’t mean each device will get the full speed, as the bandwidth will be divided amongst them. So, ensure that you’ve got the right internet plan for your scenario, as having a low-bandwidth internet plan will only lead to congestion and interruption, which is less than ideal. We recommend opting for a 500 or 1000 Mbps internet plan, and if you’re wondering how fast they are, we’ve got you covered there as well. 

Regarding its ports, it comes with 2 gigabit LAN ports and 1 gigabit WAN port. This number of ports won’t be enough to connect multiple devices unless you connect an Ethernet to Ethernet adapter to increase the port count. However, for one or two wired connections, it should be fine, with the rest of the devices working with a wireless connection. 

As for the speed, at 2.4 GHz, it managed 206 to 17 Mbps and 229 to 7 Mbps download and upload speeds, respectively. On the flip side, at 5 GHz, it managed 960 to 288 Mbps and 1200 to 576 Mbps download and upload speeds, respectively.  So, we can see that it has excellent throughput and should be able to easily cater to multiple devices, whether wired or wireless. 

What users say

According to Amazon reviews, it is being praised for its powerful performance, small size, and ease of usage. One reviewer said: “This is such a convenient and reliable appliance. I had to take a work trip to Michigan and needed to connect my laptop and other wireless devices to the internet while at the hotel. I connected this router, which allowed me to acknowledge the agreement one time for the whole trip.”

Best portable Wi-Fi router for multiple devices
02
  • GL.iNet GL-MT300N-V2 Mango bottom edge, Image by PC Guide
  • GL.iNet GL-MT300N-V2 Mango bottom specs, Image by PC Guide
  • GL.iNet GL-MT300N-V2 Mango box contents, Image by PC Guide
  • GL.iNet GL-MT300N-V2 Mango box, Image by PC Guide
  • GL.iNet GL-MT300N-V2 Mango ethernet ports and power, Image by PC Guide
  • GL.iNet GL-MT300N-V2 Mango in front of box, Image by PC Guide
  • GL.iNet GL-MT300N-V2 Mango profile, Image by PC Guide
  • GL.iNet GL-MT300N-V2 Mango side profile, Image by PC Guide
  • GL.iNet GL-MT300N-V2 Mango top, Image by PC Guide
  • GL.iNet GL-MT300N-V2 Mango USB port and buttons, Image by PC Guide
  • GL.iNet GL-MT300N-V2 Mango held up, Image by PC Guide
Outstanding
Specifications
  • Standard: Wi-Fi 4
  • Frequency bands: 2.4GHz
  • Max speed: 300Mbps
  • LAN ports: 1x 100Mbps
  • WAN: 1x 100Mbps
  • CPU: MTK MT7628NN @580Mhz SoC
  • Memory: DDR2 128MB / NOR Flash 16MB
  • USB: 1x USB 2.0 port
  • Dimensions: 58 x 58 x 25mm
  • Weight: 40g
Show more
Reasons to Buy
  • It is small and weighs only 40g
  • It works great to secure and extend networks
  • It has a very affordable price tag
Reasons to Avoid
  • It uses the Wi-Fi 4 standard
  • It has slow LAN and WAN ports
  • The max speed goes only till 300 Mbps

For our next pick, we went with the GL.iNet GL-MT300N-V2 as it costs $29.90 at the time of writing, and according to GL.iNet, it is capable of supporting 39 devices simultaneously. 

In our GL-MT300N-V2 review, it had decent results when we tested for its speed and signal strength. This router has dimensions of 58mm x L, 58mm x W, and 25mm x H, and it weighs 40g. On top of that, it is powered by a 580MHz CPU and 128 MB of DDR2 RAM. What this means is that it is small enough to fit in your pocket during traveling and has the specifications and design required to quickly set up a network for various devices. 

It’s not as fancy or powerful as other routers on this list, as it has the Wi-Fi 4 standard but has dual channels to work with. Besides that, it has two 100 Mbps LAN and WAN ports. So, while this router isn’t built to handle gigabit internet, we need to keep its price, stature, and versatility in mind. 

For a portable router, these are humble specifications, and if you’re able to connect 39 devices with a 100 Mbps internet plan on the go, we think it’s impressive, especially given the coverage of the 2.4 GHz frequency. 

One thing to note is that 100 Mbps probably won’t be enough to adequately cater to 39 devices as there is only a limited amount of bandwidth that can be divided. The more devices that are connected, the less there is to share, and that will lead to slow internet and might even reach a dead stop. That said, it does have a maximum speed of 300 Mbps, so depending on your internet connection, you should be able to comfortably game, stream, or work wherever you want. 

Overall, the GL.iNet GL-MT300N-V2 is certainly a useful little piece of hardware. It’s definitely a useful addition to those looking to secure their public network usage or extend out their network for light usage.

PC Guide

During our in-house testing, we checked its physical and actual download and upload speed. The physical speed is between the phone and the router without being connected to the internet. Data packets are exchanged, and we see how fast that process works. On the other hand, actual speed is checked like how you would check your internet speed via Ookla and other tests. 

So, this router’s physical speed was 117 to 39 Mbps at the 60ft mark, while the upload speed was 117 to 107 Mbps. As for the actual speed, the results took a hit as it managed 18 to 0.3 Mbps download and 21.4 to 0.4 Mbps upload. The 21.4 Mbps upload speed was achieved at the 30ft mark, so it’s safe to say that connections at 60ft are beyond this router’s reach. 

However, when we checked its LAN speed, it managed 91.1 and 87.9 Mbps download and upload speeds, respectively. So, you should be able to make good use of your high-speed internet plan, given that you’ve also got an Ethernet cable that can support it, such as CAT 5 or 5e.

Overall, given the price bracket it falls in, and the versatility it brings to the table, such as compatibility with 30+ VPN providers, being used as a repeater for other networks, and the ability to cater to a handful of devices simultaneously makes it one of the best routers for multiple devices available on the market.  

What users say

According to Amazon reviews, this router is easy to set up, works great, provides excellent value, and is a top-notch portable router. One reviewer stated: “The router works on hotel wifi with captive portal. You only need to perform the hotel registration once, and all of your devices are good.

Best mesh Wi-Fi router for multiple devices
03
  • Netgear Orbi RBKE963B WiFi 6E Mesh router bottom, source PCGuide
  • Netgear Orbi RBKE963B WiFi 6E Mesh router box contents, source PCGuide
  • Netgear Orbi RBKE963B WiFi 6E Mesh router box profile, source PCGuide
  • Netgear Orbi RBKE963B WiFi 6E Mesh router logo, source PCGuide
  • Netgear Orbi RBKE963B WiFi 6E Mesh router ports, source PCGuide
  • Netgear Orbi RBKE963B WiFi 6E Mesh router satellite ports, source PCGuide
  • Netgear Orbi RBKE963B WiFi 6E Mesh router side profile, source PCGuide
  • Netgear Orbi RBKE963B WiFi 6E Mesh router single, source PCGuide
  • Netgear Orbi RBKE963B WiFi 6E Mesh router system in front of box, source PCGuide
  • Netgear Orbi RBKE963B WiFi 6E Mesh router top, source PCGuide
  • Netgear Orbi RBKE963B WiFi 6E Mesh router and satellites, source PCGuide
  • Netgear Orbi RBKE963B WiFi 6E Mesh router back, source PCGuide
Excellent
Specifications
  • Standard: WiFi 6E
  • Frequency Bands: 2.4GHz, 2x 5GHz, 6GHz
  • Max Speed: 10.8Gbps
  • LAN Ports: 1x 2.5Gbps, 3x 1Gbps (Router & Satellites)
  • WAN: 1x 10Gbps (Router)
  • CPU: Quad-Core 2.2GHz (Router & Satellites)
  • Memory: 512MB NAND Flash and 1GB RAM (Router & Satellites)
  • USB: None
  • Dimensions: 279.4 x 190.5 x 76.2mm (11 x 7.5 x 3in)
  • Weight: 1.36kg (3.0lbs)
Show more
Reasons to Buy
  • It has excellent performance and range
  • 30-day free trial of Netgear Armor
  • Can separate guest and IoT networks to minimize congestion
Reasons to Avoid
  • It costs $1,000+
  • The specifications are overkill for casual users
  • Many features are locked behind a paywall

For our last pick, we went with the Netgear Orbi RBKE963B Mesh router. This is an excellent router if you have a large office or living space and need to connect various devices in every corner. According to Netgear, this mesh router can support up to 200 devices simultaneously, which should be more than enough to cover everything in your house or office. 

In our Netgear Orbi RBKE963B review, it had impressive speed, signal strength, and specifications, making it an excellent router for multiple devices. 

The router and satellites are powered by a quad-core 2.2 GHz processor and 1 GB RAM. This is the highest amount of RAM we’ve seen in a router, but given the area and devices it covers, it makes sense for it to have powerful specifications. This means that it should be able to cater to various devices across every room or floor without compromising performance. 

It has quad-band functionality and works with the Wi-Fi 6E standard. What this means is that you have the option to connect to 2.4, 5, and 6 GHz frequencies depending on how far you’re located from the router. 2.4 GHz has the most reach, while 5 and 6 GHz frequencies have a shorter range but significantly better bandwidth. 

A neat aspect of this router is that 2.4 and 5 GHz can’t be separated, and it uses smart connect. What this does is create an IoT channel to cater to smart devices while keeping the strongest frequency for other electronics like your phone and laptop. This is great as one frequency won’t be flooded with various connections, dividing the bandwidth and taking away from important devices. 

The Orbi RBKE963 is certainly a top-spec mesh router out there. Although not the latest WiFi standard, the 6E still enables a 6GHz network to your home and is much more widely adopted on your devices.

PC Guide

Each node of this router has a coverage of 3000 sq. ft., meaning that there shouldn’t be any corner in your house or office that doesn’t get decent coverage. On top of that, for wired connections, it has one 2.5 Gbps, three 1 Gbps LAN ports, and one 10Gig WAN port. 

What this means is that if you have a gigabit or multi-gigabit internet connection, you can make full use of it via this router. You can also invest in a long Ethernet cable and have a direct wired connection for maximum internet speed and better ping. You will have to plan it out but having a wired connection for streaming, gaming, or uploading and download large files is always better. 

The actual wireless speed we got during our testing went from 65.3 to 35.5 Mbps download, and 67.9 to 6.2 Mbps upload at 2.4 GHz. The results for 5 GHz were better as we saw download speed increase to 197 and 57 Mbps at 60ft and upload speeds of 227 and 83.9 Mbps. On the other hand, unsurprisingly, a LAN connection managed to deliver 254.8 and 275.5 Mbps download and upload speeds, respectively. 

So, if you want a strong and stable connection for every device in your living space or office, this router is one of the best, as it has everything you need to do that.

How to select the best router for multiple devices

As the market is filled with routers, picking the right router for multiple devices can be tricky. To help you out, we’re going to discuss some factors to consider before making a final purchase.

WiFi technology

Considering that you would be using the new router for quite a while, it makes sense to get a product that uses the latest technologies. You can get a WiFi 7 router, which was introduced at the start of this year but isn’t as commonly used as Wi-Fi 6 or 6E. There is also a likelihood that most of your devices wouldn’t be compatible with Wi-Fi 7, so going for the older versions is a safe bet. On top of that, some of the best WiFi 6 routers are capable of connecting with more than 30 devices, which makes them a decent choice. 

However, you can also choose to go with a WiFi 6E router, as it comes with a 6GHz band, which can reduce congestion – a feature that can be useful if you are planning to connect multiple devices. The only possible “con” here would be compatibility, as only newer devices are likely to have WiFi 6E. 

Coverage

The “right” coverage for you would depend on the size of your house or office. For example, if you have a three —or four-bedroom home, then 2500 sq ft. to 3500 sq ft. coverage would be enough for you. However, some of the best routers for large homes cover up to 6000 sq ft. or more to deliver a steady and stable internet connection throughout the house.

Connectivity

If you’re planning to connect multiple devices directly to the router using an Ethernet cable, we’d recommend getting a router with at least four Gigabit ports. On top of that, if you have a high-speed Internet plan, one that offers speeds of more than 1 Gbps, it would be wise to opt for a router with a multi-gig port, which many of the best routers for gigabit Internet have. 

Dedicated app

These days, you can find routers for multiple devices with dedicated apps. These apps let you control the entire router from your mobile phone. So, make sure the router you’re getting comes with a dedicated app, as this will make things easier for you. For instance, the Netgear Nighthawk routers come with the Nighthawk app. Similarly, TP-Link users can control their routers using the Tether app.

Features

Assuming that we will connect multiple devices simultaneously, you should look for features like MU-MIMO, OFDMA, beamforming, and QoS. Here’s a quick brief on each one to help you understand how these features can help you.

  • MU-MIMO: With Multi-User Multiple In Multiple Out, a router can connect with multiple devices simultaneously
  • OFDMA: With Orthogonal Frequency-Division Multiple Access, the router can create sub-streams within a frequency for more efficient performance
  • Beamforming: Much like the name suggests, Beamforming creates a “beam” which strengthens WiFi signals in the users’ direction
  • QoS: Quality of Service allows you to prioritize certain devices over others to dodge congestion

Does a better router help with multiple devices?

A better router definitely helps with multiple devices. Routers that come with the latest WiFi standards and offer better speed and range can easily handle more devices simultaneously. They are also designed to perform well under load, so you can connect your PCs, laptops, and smart devices without worrying about performance issues.

How many devices can you have on a WiFi router?

It depends on the router. Some of them are designed to handle only ten devices, while others have the capacity to cater to around 300 devices at the same time. However, routers with a bigger capacity come with a bigger price tag, so keep this in mind.

Andrew is one of three co-founders of BGFG, the parent company of PC Guide. A keen gamer and PC enthusiast, Andrew dabbles in a bit of writing sometimes - when he gets the chance to!

'),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.mediaOrPlaylistId&&(e="".concat(a.mediaOrPlaylistId,"_").concat(e),d=this._wrapJWPlayerWithCLS(d,e),this._playersAddedFromPlugin.push(a.mediaOrPlaylistId),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]),{mediaOrPlaylistId: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