we don't need viewer.js anymore

This commit is contained in:
Charlotte Som 2026-03-11 00:08:24 +00:00
parent c7dd1f9a3d
commit fa319a0347

View file

@ -32,9 +32,20 @@
<body>
<main>
<div id="player"></div>
</main>
<div id="player">
{{ if videoUrl }}
<video crossorigin="anonymous" controls>
<source src="{{ videoUrl }}" />
</video>
{{ /if }}
<script src="/dist/viewer.js" type="module"></script>
{{ if title }}
<h1>{{ title }}</h1>
{{ /if }}
{{ if description }}
<p class="description">{{ description }}</p>
{{ /if }}
</div>
</main>
</body>
</html>