Start
The embed line
One script tag per module. It never changes, however often you publish.
Every published module has its own line:
<script src=https://embed.sliderrevolution.com/i/your-key/embed.js
async></script>Where it goes
Anywhere inside the page's <body>, exactly where the module should appear. The module is placed right after the line, so it needs no container, id or class of its own.
What it does
- It loads asynchronously: the page never waits for it.
- It fetches the module and only what that module uses, from embed.sliderrevolution.com.
- It keeps the module's height and background in place before anything else loads, so the page does not jump.
Updating
Publish again in SR Anywhere and every page that carries the line shows the new version on its next load. The line stays the same, so there is nothing to paste again.
Settings live in your account
The line takes no options. The breakpoints, the fonts and the consent tool are set once for your account under Settings, Advanced, and apply to every module.
Once per page
A module shows once per page. If its line is on a page twice, the second copy is skipped and the browser console says so. To show a module twice, duplicate it in My modules.
Several modules from one line
A module group plays several published modules in their order, from a line of its own. Publish the members first: drafts do not play.
If the line shows as text
Some site builders escape script tags in text fields, so the line appears on the page as text. Paste it into the builder's HTML, code or embed element instead. The platform guides name the right one.