Interactive Embedding & Iframely Publisher Protocol
InviteWidget provides interactive rich-media widgets (live countdown timers, guest RSVP forms, and ceremony music players) designed to be embedded smoothly into Canva websites, digital invitation templates, and CMS platforms via standard oEmbed 1.0 and Iframely rich-media protocols.
1. Live Interactive Widget Examples
Each public widget URL below is active, responsive, bare (no cookies or authentication required), and discovers its interactive iframe embed automatically.
⏱️ Wedding Countdown Widget
Type: rich / countdown
Public URL: https://www.invitewidget.com/widget/countdown/N8wAUqw8YA
💌 Guest RSVP Form Widget
Type: rich / form
Public URL: https://www.invitewidget.com/widget/form/demoForm1
🎵 Ceremony Music Player Widget
Type: rich / music
Public URL: https://www.invitewidget.com/widget/music/demoMusic1
2. Discovery Protocol Implementation
Every public widget page publishes complete discovery metadata in the <head> and via HTTP response headers:
A. Iframely Rich Media Discovery Tags
<!-- Iframely Rich Media Link Tags -->
<link rel="iframely app resizable" type="text/html" href="https://www.invitewidget.com/widget/countdown/N8wAUqw8YA" media="height: 280">
<link rel="iframely" type="text/html" href="https://www.invitewidget.com/widget/countdown/N8wAUqw8YA" media="height: 280">
<!-- Iframely Explicit Meta Properties -->
<meta property="iframely:title" content="Counting down to our big day">
<meta property="iframely:description" content="Interactive live countdown timer for Canva wedding websites, invitations & digital cards.">
<meta property="iframely:image" content="https://www.invitewidget.com/assets/img/og-preview.png">
B. oEmbed 1.0 Discovery Links (JSON & XML)
<link rel="alternate" type="application/json+oembed" href="https://www.invitewidget.com/oembed?url=https%3A%2F%2Fwww.invitewidget.com%2Fwidget%2Fcountdown%2FN8wAUqw8YA&format=json" title="Counting down to our big day">
<link rel="alternate" type="text/xml+oembed" href="https://www.invitewidget.com/oembed?url=https%3A%2F%2Fwww.invitewidget.com%2Fwidget%2Fcountdown%2FN8wAUqw8YA&format=xml" title="Counting down to our big day">
C. HTTP Link Headers (RFC 5988 / RFC 8288)
Link: <https://www.invitewidget.com/oembed?url=...&format=json>; rel="alternate"; type="application/json+oembed",
<https://www.invitewidget.com/oembed?url=...&format=xml>; rel="alternate"; type="text/xml+oembed",
<https://www.invitewidget.com/widget/countdown/N8wAUqw8YA>; rel="iframely app resizable"; type="text/html"; media="height: 280"
D. Schema.org Microdata & OpenGraph Fallback
<meta itemprop="url" content="https://www.invitewidget.com/widget/countdown/N8wAUqw8YA">
<meta itemprop="embedURL" content="https://www.invitewidget.com/widget/countdown/N8wAUqw8YA">
<meta property="og:type" content="website">
<meta name="twitter:card" content="player">
3. oEmbed API Endpoint Specification
InviteWidget provides a high-performance oEmbed endpoint supporting both JSON and XML responses:
- Endpoint URL:
https://www.invitewidget.com/oembed(and legacy/oembed.php) - Supported Parameters:
url(required): The canonical public widget URL.format(optional):json(default) orxml.maxwidth(optional): Maximum width in pixels (respects constraints from 280px to 1920px).maxheight(optional): Maximum height in pixels.
- Response Type:
rich(ensuring Iframely, Canva, and third parties embed the interactive iframe, never a static card or thumbnail preview). - CORS & Headers:
Access-Control-Allow-Origin: *,Content-Type: application/json; charset=utf-8.
// Example oEmbed JSON Response
{
"version": "1.0",
"type": "rich",
"provider_name": "InviteWidget",
"provider_url": "https://www.invitewidget.com/",
"title": "Counting down to our big day",
"author_name": "InviteWidget",
"author_url": "https://www.invitewidget.com/",
"width": 800,
"height": 280,
"html": "<div class=\"invitewidget-embed\" style=\"position:relative;width:100%;max-width:800px;margin:0 auto;overflow:hidden;\"><iframe src=\"https://www.invitewidget.com/widget/countdown/N8wAUqw8YA\" width=\"100%\" height=\"280\" frameborder=\"0\" scrolling=\"no\" allowtransparency=\"true\" allow=\"autoplay; fullscreen; encrypted-media; web-share\" style=\"border:0; width:100%; height:280px; overflow:hidden; border-radius:18px;\"></iframe></div>",
"thumbnail_url": "https://www.invitewidget.com/assets/img/og-preview.png",
"thumbnail_width": 1200,
"thumbnail_height": 630,
"cache_age": 3600
}
4. Security Headers & Cross-Origin Embedding
All widget pages are engineered for cross-origin embedding inside Canva and third-party iframe containers:
- Content-Security-Policy:
frame-ancestors *allows embedding inside Canva (canva.com,canva-embed.com) and Iframely wrappers. - X-Frame-Options: Explicitly removed to avoid blocking third-party iframes.
- Cross-Origin Resource Sharing (CORS):
Access-Control-Allow-Origin: *. - Third-Party Cookie Isolation: Widget pages are bare and stateless; they operate cleanly without requiring third-party cookies or local storage partitions.
- Dynamic Resizing (postMessage): The widget runtime dispatches postMessage events to parent windows following both Iframely's protocol (
{ method: 'resize', height: N, windowId: ... }) and Canva's protocol ({ type: 'resize', height: N }).
5. How Canva URL Paste Flow Works
💡 Canva & Iframely Architecture
Canva's built-in Embed App uses Iframely as its backend metadata and rich-media resolution engine.
- When a designer pastes an InviteWidget link into Canva's Embed app, Canva queries the Iframely API.
- For domains in Iframely's global provider registry, Iframely returns the interactive
<iframe>HTML code, which Canva renders as a live, interactive element on the invitation template. - Without formal approval in Iframely's provider whitelist, Iframely defaults to an unapproved domain policy, converting the URL to a static summary card preview.
Step-by-Step Guide for Canva Designers:
- Create your widget on InviteWidget.com and copy the public widget link (e.g.,
https://www.invitewidget.com/widget/countdown/N8wAUqw8YA). - Open your Canva Invitation or Website design.
- In the left Canva toolbar, select Apps → search for Embed.
- Paste the widget URL and click Add to design.
- Position and resize the live widget on your template layout. Guests visiting the published Canva website will experience live ticking countdowns, interactive RSVPs, or background soundtracks.
6. Iframely QA Provider Review Dossier
This information is prepared for submission to Iframely's Provider Review team (iframely.com/qa/request):
| App Name | InviteWidget |
| Main Website | https://www.invitewidget.com |
| Documentation URL | https://www.invitewidget.com/embed-docs |
| oEmbed Endpoint | https://www.invitewidget.com/oembed?url={URL}&format=json |
| URL Pattern | https://www.invitewidget.com/widget/(countdown|music|form)/([A-Za-z0-9_-]{6,32}) |
| oEmbed Type | rich |
| Whitelist Tags Requested | oembed: { rich: ["allow", "responsive", "app"] } |
| Production Test URLs |
https://www.invitewidget.com/widget/countdown/N8wAUqw8YAhttps://www.invitewidget.com/widget/music/demoMusic1https://www.invitewidget.com/widget/form/demoForm1
|