Skip to main content

embed.js configuration

Set these properties on window.onlyform before loading https://oy.fm/embed.js. Popup and slider button text, color, font size, and corner radius belong to the trigger button’s HTML/CSS rather than the configuration object.

Trigger button contract

Popup and slider widgets search for this button after mounting:
The data-embed-id value must exactly match window.onlyform.id.

Share designer controls

The dashboard Share page provides a live desktop/mobile preview and exposes controls appropriate to the selected embed:
Copy the generated snippet after changing design controls. The preview state itself is not saved into an embed already installed on your website.

Launcher icons

The Share designer currently offers these launcher icon names:
Launcher icon rendering is controlled by the current widget bundle. Use the Share preview and copied snippet as the source of truth for the selected icon.