Widget
The widget puts a Streamiva signup form for one of your signup links right on your own site.
The snippet
<iframe src="https://streamiva.net/embed/signup/YOUR_LINK_CODE?hl=en" width="400" height="360" style="border:0"></iframe>
- Replace
YOUR_LINK_CODEwith the link's code. hlpicks the language:en,heorru. Anything else shows English.
The dashboard's Widget section shows the snippet ready to copy.
The allow-list
Browsers only show the widget on sites you list. Until you list at least one, it shows nowhere.
Set the list in the dashboard, or with PUT /v1/me/developer/widget-origins (signed in as yourself):
{"origins": ["https://example.com", "https://*.example.org", "https://shop.example.net:8443"]}
- Up to 10 origins.
- Each is
https://plus a host, orhttps://*.plus a domain to allow all its subdomains, with an optional port. - No paths, no
http://.
GET /v1/me/developer/widget-origins returns the current list.
When the link closes
When the link is paused, revoked, expired or full, the widget stops showing a form, just like the link itself.