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?
This might help:
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?
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?)
Yes, onebox leverages OpenGraph and oEmbed tags, if present on the target site.
Здравствуйте,
У меня установлена версия Discourse 2.5.3. Если я копирую ссылки на YouTube или использую гиперссылку, отображается только текст ссылки, изображение не появляется. Нужно ли что-то сделать дополнительно, чтобы это работало?
Спасибо.
@ondrej Я ввожу это на отдельной строке
Возможные причины:
-
на YouTube-видео указано, что его нельзя встраивать (в настройках видео на YouTube)
-
IP-адрес вашего сервера занесён в чёрный список YouTube
Вторую причину можно проверить, опубликовав ссылку на YouTube-видео здесь. Если она работает здесь…



