Embed Reference
Permanent Timepath integration fixture for compatibility testing.
Loading https://collection-script.timepath.co/timepath-collection.umd.js…
This is the code behind the example above, with this fixture's ID already in it.
<div
class="tp-collection"
data-timepath-collection-id="bv2IiaqweEsZLKNg5c2h"
></div>
<script>
(function () {
var SRC = "https://collection-script.timepath.co/timepath-collection.umd.js";
function mount() {
if (window.TimepathCollection && typeof window.TimepathCollection.mountAll === "function") {
window.TimepathCollection.mountAll({
apiBase: "https://embed.timepath.co",
});
}
}
if (window.TimepathCollection) {
mount();
return;
}
if (document.querySelector('script[src="' + SRC + '"]')) {
var tries = 0;
var t = setInterval(function () {
tries++;
if (window.TimepathCollection) {
clearInterval(t);
mount();
}
if (tries > 50) clearInterval(t);
}, 50);
return;
}
var s = document.createElement("script");
s.src = SRC;
s.onload = mount;
document.head.appendChild(s);
})();
</script>The bundle appends its own stylesheet, derived from the script URL — do not add a <link> tag for it.
Optional attributes on the container: data-timepath-darkmode. The bundle installs window.TimepathCollection with mount, unmount, update and mountAll, so a single-page application can tear an embed down again.
bv2IiaqweEsZLKNg5c2hhttps://collection-script.timepath.co/timepath-collection.umd.jsThis is a permanent Timepath integration fixture maintained for compatibility testing. The page URL and the Timepath fixture ID are intended to remain stable.
Product news, newsroom stories and new formats — occasionally, never spam.