Imgur embeds broken

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.

Imgur

  • 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.

https://github.com/discourse/onebox/commit/9526fb1fa79aac912a920439b97058ccb7d4c438

(cc @eviltrout)

4 Likes