1
0
Fork 0

Update VideoPresenter component, add webkit-playsinline attribute to video element to prevent the full screen video player

This commit is contained in:
Daniel Supernault 2024-04-12 03:56:33 -06:00
parent 141f6d38a7
commit ad03291699
No known key found for this signature in database
GPG Key ID: 23740873EE6F76A1
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@
:alt="altText(status)"/>
</div>
<div v-else class="embed-responsive embed-responsive-16by9">
<video class="video" controls playsinline preload="metadata" loop :data-id="status.id" :poster="poster()">
<video class="video" controls playsinline webkit-playsinline preload="metadata" loop :data-id="status.id" :poster="poster()">
<source :src="status.media_attachments[0].url" :type="status.media_attachments[0].mime">
</video>
</div>