Added track kind

This should be there. <track kind="captions"> To avoid the following error A11y: Media elements must have a <track kind="captions"> (111:1)
pull/5522/head
Irshad Ali 5 years ago committed by GitHub
parent ebbbc0d298
commit c06034528d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -113,7 +113,9 @@
src="https://sveltejs.github.io/assets/caminandes-llamigos.mp4"
on:mousemove={handleMousemove}
on:mousedown={handleMousedown}
></video>
>
<track kind="captions">
</video>
<div class="controls" style="opacity: {duration && showControls ? 1 : 0}">
<progress value="{(time / duration) || 0}"/>

Loading…
Cancel
Save