# Steam Onebox Oneboxing Non-boxable Pages

**URL:** https://meta.discourse.org/t/steam-onebox-oneboxing-non-boxable-pages/53447
**Category:** Bug
**Created:** [November 27, 2016, 9:53pm UTC](https://meta.discourse.org/t/steam-onebox-oneboxing-non-boxable-pages/53447 "2016-11-27T21:53:43Z")
**Posts on this page:** 15
**Page:** 1

<div class="post-metadata">

### Author: ![TimeDoctor](https://avatars.discourse-cdn.com/v4/letter/t/c67d28/32.png) [@TimeDoctor](https://meta.discourse.org/u/TimeDoctor)
#### Post date: [November 27, 2016, 9:53pm UTC](https://meta.discourse.org/t/steam-onebox-oneboxing-non-boxable-pages/53447/1 "2016-11-27T21:53:43Z")

</div>

If the Onebox tries to onebox a steam page that isn’t an /app/ it’ll do this funky thing and dump a bunch of margin/whitespace into the page:

> **[Steam Store](https://store.steampowered.com/SteamAwardNominations/)**
>
> Steam is the ultimate destination for playing, discussing, and creating games.

vs

> **[Quake III Arena on Steam](https://store.steampowered.com/app/2200/)**
>
> The greatest warriors of all time and space have been summoned to battle for the amusement of an ancient alien race. Wield a variety of guns and power-ups as you fight for glory against ruthless combatants in this fast-paced single-player and...

---

<div class="post-metadata">

### Author: ![Yuun](https://avatars.discourse-cdn.com/v4/letter/y/977dab/32.png) [@Yuun](https://meta.discourse.org/u/Yuun)
#### Post date: [November 27, 2016, 10:04pm UTC](https://meta.discourse.org/t/steam-onebox-oneboxing-non-boxable-pages/53447/2 "2016-11-27T22:04:45Z")

</div>

I’ve been meaning to drop a note here about this, it’s come up a few times on my forum during the current Steam sale. 🙂

The issue seems to be that it tries to create the little widget for every page that starts with [store.steampowered.com](http://store.steampowered.com), but only a specific portion of those ([steam.storepowered.com/app/](http://steam.storepowered.com/app/) I think?) will actually work with the widget.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [November 28, 2016, 3:28am UTC](https://meta.discourse.org/t/steam-onebox-oneboxing-non-boxable-pages/53447/3 "2016-11-28T03:28:12Z")

</div>

I see we should fix this @zogstrip.

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [November 28, 2016, 2:25pm UTC](https://meta.discourse.org/t/steam-onebox-oneboxing-non-boxable-pages/53447/4 "2016-11-28T14:25:34Z")

</div>

This will soon be fixed 🍌

[https://github.com/discourse/onebox/commit/e12c49b95d0a00427b83ab182712bd605a269742](https://github.com/discourse/onebox/commit/e12c49b95d0a00427b83ab182712bd605a269742)

---

<div class="post-metadata">

### Author: ![TimeDoctor](https://avatars.discourse-cdn.com/v4/letter/t/c67d28/32.png) [@TimeDoctor](https://meta.discourse.org/u/TimeDoctor)
#### Post date: [November 28, 2016, 10:44pm UTC](https://meta.discourse.org/t/steam-onebox-oneboxing-non-boxable-pages/53447/5 "2016-11-28T22:44:16Z")

</div>

this just looks like it’s deleting the onebox for steam entirely?

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [November 28, 2016, 10:54pm UTC](https://meta.discourse.org/t/steam-onebox-oneboxing-non-boxable-pages/53447/6 "2016-11-28T22:54:56Z")

</div>

Let’s see

> **[Quake III Arena on Steam](https://store.steampowered.com/sub/433/)**
>
> Includes 1 items: Quake III Arena

That is more our standard one box format.

---

<div class="post-metadata">

### Author: ![Yuun](https://avatars.discourse-cdn.com/v4/letter/y/977dab/32.png) [@Yuun](https://meta.discourse.org/u/Yuun)
#### Post date: [November 28, 2016, 11:04pm UTC](https://meta.discourse.org/t/steam-onebox-oneboxing-non-boxable-pages/53447/7 "2016-11-28T23:04:49Z")

</div>

Well, sure. The onebox looking like Steam’s was a really nice touch though, I thought.

It’s better that a bunch of steam links aren’t rendered unusable I suppose, but I admit I was hoping the fix was going to be more along the lines of “only use the fancy onebox for actual Steam app store pages” then to not use it altogether.

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [November 28, 2016, 11:08pm UTC](https://meta.discourse.org/t/steam-onebox-oneboxing-non-boxable-pages/53447/8 "2016-11-28T23:08:46Z")

</div>

The thing is with embedded iframes, we have no control over it and they can break anytime. I agree this onebox doesn’t look as sexy as the embedded version but at least it’s consistent.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [November 28, 2016, 11:10pm UTC](https://meta.discourse.org/t/steam-onebox-oneboxing-non-boxable-pages/53447/9 "2016-11-28T23:10:06Z")

</div>

It should include the price though I think

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [November 28, 2016, 11:14pm UTC](https://meta.discourse.org/t/steam-onebox-oneboxing-non-boxable-pages/53447/10 "2016-11-28T23:14:43Z")

</div>

It’s unfortunately not something they disclose in their OpenGraph tags. I guess I can restore the embedded version for “`https://store.steampowered.com/app/{id}/`” and use the default onebox for other cases.

---

<div class="post-metadata">

### Author: ![Yuun](https://avatars.discourse-cdn.com/v4/letter/y/977dab/32.png) [@Yuun](https://meta.discourse.org/u/Yuun)
#### Post date: [November 28, 2016, 11:34pm UTC](https://meta.discourse.org/t/steam-onebox-oneboxing-non-boxable-pages/53447/11 "2016-11-28T23:34:57Z")

</div>

Fair enough. Thanks for the quick response. It is definitely better to not have a bunch of unusable links. 🙂

If feasible though, the embedded onebox is rather nice on gaming-oriented forums.

---

<div class="post-metadata">

### Author: ![Chopper](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chopper/32/57073_2.png) [@Chopper](https://meta.discourse.org/u/Chopper)
#### Post date: [November 29, 2016, 12:52pm UTC](https://meta.discourse.org/t/steam-onebox-oneboxing-non-boxable-pages/53447/12 "2016-11-29T12:52:09Z")

</div>

Whoooo this is a serious regression for gaming community.

There is a big difference between this :

 ![](https://global.discourse-cdn.com/meta/original/3X/5/1/513934afc0418f7a860b576e1f24fbf2e83eb9af.png)

and this :

 ![](https://global.discourse-cdn.com/meta/original/3X/3/2/32d553a765baa62baef10df86fb9fd9a3141b4aa.png)

The commit [e12c49b95d0a00427b83ab182712bd605a269742](https://github.com/discourse/onebox/commit/e12c49b95d0a00427b83ab182712bd605a269742) removes ALL the steam onebox, this is not “unnecessary steam store onebox”

I understand there is a bug but can we check if the url shared have `/app/` or `/sub/` before use the classical onebox ?

Otherwise I will revert the commit locally since (on my community) steam url shared by user are rarely about something else than app sales (I never notice this bug since no one share a link that is not about an app for example).

_just my point a view, but again I do understant the bug and why the special steamonebox was remove._

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [November 29, 2016, 12:58pm UTC](https://meta.discourse.org/t/steam-onebox-oneboxing-non-boxable-pages/53447/13 "2016-11-29T12:58:30Z")

</div>

Don’t worry, I’m adding it back for `/app` 😉

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [November 29, 2016, 2:47pm UTC](https://meta.discourse.org/t/steam-onebox-oneboxing-non-boxable-pages/53447/14 "2016-11-29T14:47:00Z")

</div>

Restored the onebox but only for “`/app/`”

[https://github.com/discourse/onebox/commit/7e509ab8fa369a377de26c3fc13fc74ffc15a841](https://github.com/discourse/onebox/commit/7e509ab8fa369a377de26c3fc13fc74ffc15a841)

(_will be deployed here soon_)

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [December 5, 2016, 1:36am UTC](https://meta.discourse.org/t/steam-onebox-oneboxing-non-boxable-pages/53447/15 "2016-12-05T01:36:48Z")

</div>


