Caspar Template
All checks were successful
Build & Push Docker (latest) / verify (push) Successful in 9m29s
Build & Push Docker (latest) / build (push) Successful in 8s

This commit is contained in:
Aiden Wilson
2026-05-29 22:51:32 +10:00
parent a88306aec7
commit bba1ab5cee
6 changed files with 375 additions and 4 deletions

View File

@@ -330,6 +330,17 @@ export function homePage({ providersCount = 0 } = {}) {
</html>`;
}
export function casparTemplatePage() {
return `${commonHead({ title: "oEmbed CasparCG Template", htmlClass: "graphic-document transparent" })}
<body class="graphic transparent is-loading" style="--stage-width:1920px; --stage-height:1080px; --scale:1; --chroma:#00ff00;">
<main class="stage fit-contain">
<section class="embed provider-empty" data-source="" style="--embed-width:500px"></section>
</main>
<script src="/caspar.js"></script>
</body>
</html>`;
}
export function graphicPage({
targetUrl,
embed,