BeamerReveal

 view release on metacpan or  search on metacpan

share/templates/html/still-embedded.html  view on Meta::CPAN

<div class="absolute" style="left: ---X---;
			     top: ---Y---;
			     width: 100%;
			     height: 100%;
			     ">
  <video id="---STILLID---"
	 style="width: ---W---;
		height: ---H---;
 		object-fit: ---FIT---;
		"></video>
  <script type="module">
    const encoded = `
---STILLEMBEDDEDB64---`;
    const bytes = Uint8Array.from(atob(encoded), c =>c.charCodeAt(0));
    const blob = new Blob([bytes], { type: "---MIMETYPE---" });
    const still = document.getElementById("---STILLID---");
    still.src = URL.createObjectURL(blob);
  </script>

</div>



( run in 0.529 second using v1.01-cache-2.11-cpan-5511b514fd6 )