Onebox is a software library for turning media URLs into simple HTML previews of the resource.
Onebox currently has support for page, image, and video URLs for many popular sites.
It’s great if you want users to input URLs and have your application convert them into rich previews for display. For example, a link to a YouTube video would be automatically converted into a video player.
It was originally created for Discourse, the software used for our forum, but has since been extracted into a convenient gem for all to use!
See also;