BeamerReveal
view release on metacpan or search on metacpan
share/templates/html/animation-embedded.html view on Meta::CPAN
<div class="absolute" style="left: ---X---;
top: ---Y---;
width: 100%;
height: 100%;
">
<video id="---ANIMATIONID---"
---AUTOPLAY--- ---CONTROLS--- muted ---LOOP---
style="width: ---W---;
height: ---H---;
object-fit: ---FIT---;
"></video>
<script type="module">
const encoded = `
---ANIMATIONEMBEDDEDB64---`;
const bytes = Uint8Array.from(atob(encoded), c =>c.charCodeAt(0));
const blob = new Blob([bytes], { type: "---MIMETYPE---" });
const animation = document.getElementById("---ANIMATIONID---");
animation.src = URL.createObjectURL(blob);
</script>
</div>
( run in 1.209 second using v1.01-cache-2.11-cpan-5511b514fd6 )