Every visit to that page is a visit to your site, because the containing page will be fetching your code each time it’s loaded. The URL describes exactly what the output is, which means that the content can be served directly from Cloudflare without having to go through to our backend infrastructure after the first request. There’s no reason not to start. To avoid having to reinvent the wheel Canva embeds use the same slideshow component as used on the /view page - both powered by the same JavaScript code. Maybe you’re already imagining what kind of embed you could make for your web app, your startup or company. Before you begin: Before you start using the Maps Embed API, you need a project with a billing account and the Maps Embed API enabled. Although there are lots of subtleties to creating a good embed, getting started is easy and straightforward: to create your own embed you need to offer users some code that they can include on their own website. Use Embedly to add rich media to your sites and apps. There are some websites (for example Medium) that only allow embedding via oEmbeds. Although right now we have rounded corners and a slight shadow on our iframe, having a script gives us the flexibility to make changes and update the iframe styling without users having to update their embed code - as can be seen in our embedify function below. There are two situations in which iFrames are generally useful. No code. Embed file in page. You can embed iFrame videos in the Rich Content Editor using an external video's direct URL link. Embed designs. Think of a YouTube page with its comments, recommendations, navigation and all the other cruft that comes with the webpage - do you really want to embed all of that in your own website? This can be as radical as only showing a video with a play button, or for a site like Canva we can create a minimal embed that shows just the design and allows for easy sharing and flicking though multiple pages. Just a simple IFrame shortcode does not work for this in WordPress. For example Medium uses embed.ly for embedding (in fact they acquired embed.ly in 2016), so applying to become an embed.ly provider will add support on Medium. Support for oEmbeds has increased recently, to the point where Apple’s new Keynote embed feature only works via oEmbeds. Embedly offers a suite of tools, APIs, and libraries to help you embed content from media providers into your own websites and apps. For simplicity this can be stripped down to the essentials (which will still work): The magic in Canva’s embed code comes from the