How to paste HTML from a publisher into Iframely
Iframely is designed to work with URLs, not raw HTML. This means you cannot paste HTML code directly from your publisher.
Iframely takes a URL as input and generates the corresponding HTML embed code from a publisher. This process allows Iframely to create rich media embeds that can be shared and used across various platforms and applications.
Historically, when the Internet was less automated, less developed, and had fewer applications, embed codes were manually copied from one site to another. However, this approach is both unsafe and impractical today. Few applications allow direct HTML insertion because it can contain potentially harmful code. That’s why Iframely is built on a different approach.
The only solution appropriate for the modern Internet is when users share URLs instead of raw HTML. Applications then detect these URLs and automatically embed videos, maps, GIFs, etc. Think of YouTube players that are shared via YouTube video URLs. Since the URL serves as a unique identifier for content and enables caching, this is the only feasible method at the current level of web automation. Manual code copy-pasting might work for your own site, where you have full control and trust (for example, embedding content on a small personal website). For those using Iframely, automation is key — relying on URLs instead of arbitrary HTML from external sources ensures a safer and more practical solution for embedding content.
Think of a URL you’d share with a friend. Iframely takes that link and matches it to appropriate rich media embed codes from known publishers or creates a summary card for generic URLs. This method not only enhances security but also simplifies content sharing across platforms.