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 Mi Piace

This might help:

3 Mi Piace

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 Mi Piace

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

4 Mi Piace

Ciao,

Ho la versione 2.5.3 di Discourse. Se copio link di YouTube o uso l’ipercollegamento, viene visualizzato solo il link, senza alcuna immagine associata. Devo fare qualcosa di specifico per far sì che funzioni?

Grazie

Se stai scrivendo qualcosa, premi ‘invio’ fino a quando non si trova su una riga separata


@ondrej Lo sto inserendo su una riga separata

Alcune possibili ragioni:

  • il video YouTube ha specificato che non è consentito incorporarlo (nelle impostazioni di YouTube per il video)

  • l’indirizzo IP del tuo server è stato inserito nella blacklist da YouTube

È possibile testare quest’ultima ipotesi pubblicando qui il link al video YouTube. Se funziona qui..

2 Mi Piace