we don't need viewer.js anymore
This commit is contained in:
parent
c7dd1f9a3d
commit
fa319a0347
1 changed files with 14 additions and 3 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in a new issue