Caspar Template
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user