fix: remove type="*" from videos (#1593)

This commit is contained in:
Nolan Lawson 2019-10-17 18:27:30 -07:00 committed by GitHub
parent c13b2df6c5
commit 01b0c43f0d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 6 deletions

View File

@ -14,7 +14,6 @@
loop
webkit-playsinline
playsinline
type="*"
/>
</div>
<style>

View File

@ -1,11 +1,8 @@
<!-- iOS safari requires type="*" on video to play properly, don't ask me why
https://stackoverflow.com/a/28361053 -->
{#if type === 'video'}
<video
class="media-fit"
aria-label={description}
src={url}
type="*"
{poster}
controls
{intrinsicsize}
@ -17,7 +14,6 @@
class="audio-player"
aria-label={description}
src={url}
type="*"
controls
ref:player
/>
@ -27,7 +23,6 @@
class="media-fit"
aria-label={description}
src={url}
type="*"
{poster}
autoplay
muted