feat(ipub): ipub-cover, forcing user to interact to enable autoplay

This commit is contained in:
Guz
2025-10-23 14:59:08 -03:00
parent 185001308d
commit 77631f2a6c
3 changed files with 105 additions and 0 deletions

View File

@@ -12,6 +12,17 @@
</head>
<body xmlns:epub="http://www.idpf.org/2007/ops" class="body">
<ipub-body style="--ipub-padding: 10%;">
<ipub-cover>
<dialog>
<header>
<h1>Test comic</h1>
<form method="dialog">
<p>Click anywhere to
<button>start Reading</button></p>
</form>
</header>
</dialog>
</ipub-cover>
<main id="content">
<ipub-background id="background0001">
<img src="../images/background0001.jpg" width="100" height="100" />