Quickly explain what Onebox is?

A co-admin new to Discourse was going through the options and pointed out that “Onebox” wasn’t exactly intuitive. Maybe it’s worth adding a heading to that page about what Onebox is?

3개의 좋아요

This might help:

3개의 좋아요

I am trying to embed something from autodesk360.com and it doesn’t seem to register. Is there a way within my discourse admin settings to allow for this iframe to show?

https://myhub.autodesk360.com/ue29ca300/shares/public/SHabee1QT1a327cf2b7a526ef5b381cfd1ef?mode=embed

I believe @sam added a feature where you can whitelist iframes.

Another option if you haven’t already ruled it out might be Sketchfab, it looks like a lot of people have been using it to share their 3D models on a Discourse instance. If you search for Sketchfab here, you might find some examples of what you are looking for.

For clarity, would I be correct in thinking that Onebox is using oEmbed to provide embedded previews of links (ie that onebox is Discourse’s elsewhere-cryptically-referenced native support for oEmbed?)

1개의 좋아요

Yes, onebox leverages OpenGraph and oEmbed tags, if present on the target site.

4개의 좋아요

Hi,

I have Discourse version 2.5.3. If I copy Youtube links or use the hyperlink, it only shows me the link I don’t see any image with it. Do I need to do something specific to make it work ?

Thank you

If you are writing something press ‘enter’ until it is on a separate line


@ondrej I am entering it on a separate line

Some possible reasons:

  • the youtube video has specified it is not allowed to embed (in the youtube settings for the video)

  • your server IP is blacklisted by youtube

The latter one can be tested by posting the youtube video link here. If it works here..

2개의 좋아요

Where does the naming come from? Why is it called “Onebox”? I know the individual words “one” (as number) and “box” (as container).

1개의 좋아요

I believe it’s a name Google came up with ~20 years ago, it was “one box” to show certain types of answers to queries

3개의 좋아요