Skip to content

Commit

Permalink
docs: fix a11y warning in media elements example (sveltejs#5606)
Browse files Browse the repository at this point in the history
  • Loading branch information
izumiiii authored and taylorzane committed Dec 17, 2020
1 parent 88df9cb commit 499b321
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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}"/>
Expand Down

0 comments on commit 499b321

Please sign in to comment.