I viewed this topic on Meta on May 26th and the preview was working, now it is not. The preview in the first post will show up if you try replying to that topic (or this topic), and pasting any imgur galley URL into the edit box, but you won’t see a preview for the URL you just pasted. The preview won’t be there if you refresh the page.
I saw the same behavior on a forum hosted at Communiteq (formerly DiscourseHosting) also on May 26th, when they were running 1.2. The behavior is still there this week with 1.3.
Hmm, that doesn’t explain why it was working here but not at my Communiteq (formerly DiscourseHosting) forum at the same time (on May 26th). Is this broken until Imgur changes something back, or until Discourse releases a fix?
Estaba a punto de volver a enviar este error, pero encontré esto.
Sin embargo, como muestra el último mensaje, a veces los embeds aparecen espontáneamente. Así que, independientemente de lo que haga Imgur, Discourse también debe estar haciendo algo extraño.
Por ejemplo, cuando hago clic en editar en uno de mis mensajes, la galería aparece
@sam imgur embeds are using a <script> tag which gets excised from the final post by the html-sanitizer-bundle, but if you edit the post the script is loaded. we need a custom onebox for imgur albums.
Okay, I just added custom Imgur onebox engine. Here are the features:
When Imgur image link is provided, it extracts the image and shows that, clicking on image will take you to original imgur link.
When Imgur gif link is provided, it extracts the mp4 video source and shows the HTML5 video player (with controls/autoplay/loop).
When Imgur gallery link is provided, it extracts the first image from the gallery and shows that, clicking on image will take you to original imgur gallery link.