docs: fix a11y warning in media elements example (#5606)

pull/5614/head
izumiiii 4 years ago committed by GitHub
parent 7ea6a2994a
commit 9e0556cf70
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -115,8 +115,9 @@
on:mousedown={handleMousedown}
bind:currentTime={time}
bind:duration
bind:paused
></video>
bind:paused>
<track kind="captions"/>
</video>
<div class="controls" style="opacity: {duration && showControls ? 1 : 0}">
<progress value="{(time / duration) || 0}"/>

Loading…
Cancel
Save