fix: VIdeoViewer play after click

feat/type-attributes
Tomáš Mládek 2022-09-06 00:06:15 +02:00
parent e9f30c3904
commit 5fff81db85
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@
poster="api/thumb/{address}?mime=video"
on:mousemove={updatePreviewPosition}
on:mouseleave={resetPreview}
on:click={startPlaying}
on:click|preventDefault={startPlaying}
controls={state === State.PLAYING}
bind:this={videoEl}
/>